This post originated from an RSS feed registered with Java Buzz
by Franco Martinig.
Original Post: Randomized Testing for JUnit
Feed Title: Java Software Development Videos and Tutorials Directory
Feed URL: http://www.java-tv.com/feed/
Feed Description: Java-TV.com is a directory of videos, interviews and tutorials focused on software development activities with the Java programming language.
We have been taught that unit tests should be repeatable and most people (including the author) for a long time considered this an equivalent to “static”, single-path execution. Solr and Lucene employed an interesting JUnit runner strategy where tests are randomized: run with various data, various implementation of allowed interfaces, various configurations.
The number of combinations makes running all of them as individual tests and execution randomization proves very successful at pinpointing implementation and regression bugs. This talk will provide an overview of this approach and practical considerations on when ...