Instinct 0.1.7 Release
I’m happy to announce the release of Instinct 0.1.7. This is mainly a maintenance release, and includes the removal of in progress specification state, runners now emit pending reason, added Functional Java based matchers, upgrades to dependencies, Ant 1.7.1, CGLib 2.2, jMock 2.5.0 and Objenesis 1.1 and an internal re-write of specification runners.
Note that the upgrade to jMock 2.5.0 may cause issues with current mocks, you should consult the jMock documentation and release notes if you run into trouble. I’ve also added a new dependency on Functional Java, which is used both internally and can be used from two new matchers.
Downloads are available from the project site.
Here’s the full list of changes:
- Core Features
- Removed in progress specification state, use pending instead.
- All runners now emit pending specification reason.
- Expectation API
- Added function matcher, e.g.
expect.that(list).doesNotContain({int i => i > 3}(based on Functional Java’s fj.F). - Added fj.data.List matcher.
- Added function matcher, e.g.
- Infrastructure
- Added dependency on Functional Java, used both internally and for use in expectation API.
- Continued clean up of specification running code.
- Upgraded to: Ant 1.7.1, CGLib 2.2, jMock 2.5.0 and Objenesis 1.1.
- Bugs
- (Issue 11) It would be nice not to have to depend on jmock when writing a BDD-style test involving no mocks.