“Right or wrong, it's very pleasant to break something from time to time” - Fyodor Dostoyevsky

New Release - Breaking Change

Version 0.9.1 is now available on Maven Central with a breaking change to the API.

Thanks to caelwinner for raising a GitHub issue pointing out that getting the default string generator was inconsistent with the rest of the API:

RDG.string;
RDG.integer();
RDG.bool();
RDG.longVal();
RDG.doubleVal();
...

So all the no-arg default generators are returned via a no-arg method ... except for string which was actually a public static member of RDG, ooops. Fixing this unfortunately means a breaking change, since we're still in beta we've just removed RDG.string (well, made it private) so you'll need to access the default string generator with RDG.string() from now on.

<dependency>
    <groupId>uk.org.fyodor</groupId>
    <artifactId>fyodor-core</artifactId>
    <version>0.9.1</version>
</dependency>
<dependency>
    <groupId>uk.org.fyodor</groupId>
    <artifactId>fyodor-junit</artifactId>
    <version>0.9.1</version>
</dependency>
<dependency>
    <groupId>uk.org.fyodor</groupId>
    <artifactId>fyodor-jodatime</artifactId>
    <version>0.9.1</version>
</dependency>