Re: WET vs DRY tests

2018-02-19 Thread Justin Mclean
Hi, > Have to agree that I am having problems to understand what the thing does. > But that might be related to me not having had my first coffee if the day yet > ;-) Once you look at the code it’s testing it become clearer but the mental effort required seem a bit high for a simple test. Othe

Re: WET vs DRY tests

2018-02-19 Thread Christofer Dutz
uesday, February 20, 2018 1:12:23 AM To: dev@plc4x.apache.org Subject: WET vs DRY tests Hi, Was just looking at some of the new tests and just wondering if they are trying to be a bit too clever? What do other people think? For instance this: @Test public void testOfWintime() throws Exc

WET vs DRY tests

2018-02-19 Thread Justin Mclean
Hi, Was just looking at some of the new tests and just wondering if they are trying to be a bit too clever? What do other people think? For instance this: @Test public void testOfWintime() throws Exception { assumeThat(clazz, isOneOf(TimeStamp.class)); { Method ofMethod = clazz.