Published at: 08:12 am - Sunday December 04 2011
My kids are playing chess. And they really eager to play it even better. Therefore I’m reading books about how to teach chess. Much of the advice in the book are really not that specialized on chess but are applicable for any kind of learning and training. One of those advices is: There are three [...]
Published at: 03:02 pm - Sunday February 07 2010
In my last blog post, I described how to use JUnit Theories to create large amounts of test runs, with very limited amount of work, like so: import static org.junit.Assume.assumeTrue; @RunWith(Theories.class) public class TheorieTest { @DataPoint public static String a = "a"; @DataPoint public static String b = "bb"; @DataPoint public static [...]
Published at: 10:01 pm - Sunday January 31 2010
A couple of months ago I blogged about JUnit Rules, one of the new features in JUnit. While fooling around with JUnit Rules, I found a couple more features that you might be interested in. So here it comes: Theories! It turns out Theories are really a piece of cake. Try this: import static org.junit.Assume.assumeTrue; [...]