“Right or wrong, it's very pleasant to break something from time to time.”
― Fyodor Dostoyevsky
Fyodor is an open source Java library for generating random data with support for reproducing test failures (or other scenarios) when it causes things to blow up.
Check out the site for more information, including a guide to effectively using random data in your test suite.
<dependency>
<groupId>uk.org.fyodor</groupId>
<artifactId>fyodor-core</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>uk.org.fyodor</groupId>
<artifactId>fyodor-junit</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>uk.org.fyodor</groupId>
<artifactId>fyodor-jodatime</artifactId>
<version>1.0.0</version>
</dependency>