<feed xmlns='http://www.w3.org/2005/Atom'>
<title>java-check/src/main/java/au/id/zancanaro/javacheck/junit, branch master</title>
<subtitle>Property-based testing for Java within JUnit.
</subtitle>
<id>http://onix.zancanaro.id.au/Archive/java-check/atom?h=master</id>
<link rel='self' href='http://onix.zancanaro.id.au/Archive/java-check/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/'/>
<updated>2015-07-06T13:47:20Z</updated>
<entry>
<title>Fix up some minor code-quality things</title>
<updated>2015-07-06T13:47:20Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-07-06T13:47:20Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=47313d5a766bf970095228c1b577244f7fc55415'/>
<id>urn:sha1:47313d5a766bf970095228c1b577244f7fc55415</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the warnings from the previous commit</title>
<updated>2015-07-06T12:46:02Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-07-06T12:46:02Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=a7b074875f241d98877de51a93717d56cf2d19e4'/>
<id>urn:sha1:a7b074875f241d98877de51a93717d56cf2d19e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Report command lists more nicely (line breaks between commands); report number of nodes visited during shrinking; other small fixes</title>
<updated>2015-06-10T14:27:06Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-06-10T14:27:06Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=b2055f2a1dd2117cdd05ab6596c38c82d3d05240'/>
<id>urn:sha1:b2055f2a1dd2117cdd05ab6596c38c82d3d05240</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A few changes, as suggested by static analysis</title>
<updated>2015-06-09T13:58:41Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-06-09T13:58:41Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=6546881559e4bbcfe2b220199a9f3cd4196d1960'/>
<id>urn:sha1:6546881559e4bbcfe2b220199a9f3cd4196d1960</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Generalise the ObjectGeneration stuff</title>
<updated>2015-06-09T13:31:54Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-06-09T13:31:54Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=40961d4950c40643d5d71721a7e024e3951323ce'/>
<id>urn:sha1:40961d4950c40643d5d71721a7e024e3951323ce</id>
<content type='text'>
The new ObjectGeneration stuff is now used to generate everything for a test
case, which means it's all unified and "nice" now.

Add a @UseGenerator annotation to be used to specify how to generate specific
field values.

Obviously, not everything can be generated magically, so if you specify a
@DataSource in your test then it will be used in preference to any magically
generated value.
</content>
</entry>
<entry>
<title>Add an ObjectGenerator&lt;&gt;, and related machinery (also a mapOf generator)</title>
<updated>2015-06-09T07:33:56Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-06-09T07:33:56Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=dd9f72b94eb7b2c37061c80457e74e8d7ac3e18f'/>
<id>urn:sha1:dd9f72b94eb7b2c37061c80457e74e8d7ac3e18f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make a method static, just because I can</title>
<updated>2015-06-04T13:34:51Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-06-04T13:34:51Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=520f233695f5a9bd27d3d32b974e7d4cc7839ab3'/>
<id>urn:sha1:520f233695f5a9bd27d3d32b974e7d4cc7839ab3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move stuff over to using streams instead of iterators: much nicer!</title>
<updated>2015-06-04T06:46:31Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-06-04T06:46:31Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=b435b8659eef0e8bc2910966d87b5b74b4cddbe2'/>
<id>urn:sha1:b435b8659eef0e8bc2910966d87b5b74b4cddbe2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't convert to/from arrays/lists unnecessarily while running tests</title>
<updated>2015-06-04T03:34:56Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-06-04T03:34:56Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=6781ae52a41188e82a0354d4725a7c2718830e45'/>
<id>urn:sha1:6781ae52a41188e82a0354d4725a7c2718830e45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change shrinking a bit, add more generators, fix some types, moved suchThat</title>
<updated>2015-06-03T09:43:14Z</updated>
<author>
<name>Carlo Zancanaro</name>
<email>carlo@zancanaro.id.au</email>
</author>
<published>2015-06-03T09:43:14Z</published>
<link rel='alternate' type='text/html' href='http://onix.zancanaro.id.au/Archive/java-check/commit/?id=e0fc94269698982d937b80ff5fd5b1ef8ef28cf4'/>
<id>urn:sha1:e0fc94269698982d937b80ff5fd5b1ef8ef28cf4</id>
<content type='text'>
Shrinking is now done using a "ShrinkStrategy". It's pretty similar to what it
used to be in the end, but instead of generating new ShrinkTree&lt;T&gt;s yourself,
you just generate smaller &lt;T&gt;s, and the generator framework will re-call your
strategy to shrink smaller elements. (So, essentially, ShrinkStrategy.shrink(T
obj) returns an Iterator&lt;T&gt; which then has smaller trees calculated from it.)

Added some more generators. In particular: longs and doubles.

Fixed some types, so now Generator.tuple(integer(), string()) will work. Yay!

Move suchThat to Generator, so now integer().suchThat(x -&gt; x &lt; 10) will work
instead of the old Generators.suchThat(x -&gt; x &lt; 10, integer()), which felt a
bit weird.
</content>
</entry>
</feed>
