Releases: maciejmikosik/quackery
Releases · maciejmikosik/quackery
0.17.0
0.16.0
Redesigned model of Test
, Case
and Suite
.
Incompatible changes.
Test
is now an interface instead of abstract class.Case
cannot be subclassed. It doesn't haverun
method anymore. Its static factory method returnsTest
instead ofCase
.Body
is now top-level class instead of nested inCase
.Case
,Suite
andTest
has no public fields now. They can be accessed by callingvisit
method.
0.15.0
Running
- Method
runIn(executor, test)
was split into 2 separate methodsrun(in(executor, test))
#41 - Created
run(concurrent(test))
which runs tests using all available processors. - Fixed interruption propagation in
threadScoped
runner #58. - Implemented
expect(throwable, test)
decorator asserting that exception was thrown from test #40.
reporting
- Clarified error message of
AssertException.assertEquals
#43.
helper methods (undocumented)
- Provided method for renaming
Test
#53. - Provided methods for convenient creating successful and failing
Case
.
Junit
- Junit runner no longer promotes single quackery tests into root.
Incompatible changes.
runIn(executor, test)
method was removed fromRunners
.- undocumented
Visitor
was replaced by undocumentedTraversingDecorator
.
0.14.0
Redesigned integration with junit. Previously any problem with initialization of junit runner would cause InitializationException
that prevented tests to be run. Now reporting of problems is more fine grained. Any problem with methods annotated with @Quackery
or @org.junit.Test
is caught during initialization and replaced by adding failing test to root Suite
#44. Junit problems are ignored if there are no methods annotated with @org.junit.Test
#51. Solved minor presentations issues #50, #56. Updated documentation #55.
0.13.2
fixes
- fixed eclipse workarounds
v0.13.1
0.13.0
0.12.0
0.11.0
improvements
- introduced native mechanism for running tests #30
- implemented various strategies for running tests #34
- implemented printing test report #33
- added immutable option for collection contracts #27
- added option for forbidding null element to collection contract #28
- created
ReportException
as superclass forAssertException
andAssumeException
fixes
- allowed more than one method annotated with
@Quackery
#32 - fixed
QuackeryRunner
so empty suite does not confuse junit #25
incompatible changes
- moved
QuackeryRunner
toorg.quackery.junit
package - renamed
Suite
methods toadd
,addAll
- renamed and moved
AssertException
andAssumeException
- removed mutable option and made it default unless used immutable
0.10.0
improvements
- added more tests to collection contract
- checked againts illegal usage of collection contract
incompatible changes
- renamed
AssertionException.assertThat
->assertTrue
quacksLike(List.class)
->quacksLike(Collection.class).implementing(List.class)