- flexible annotation of contexts, specifications, test actors, etc. (via Java 1.5 annotations, marker interfaces or naming conventions)
- automatic creation of test doubles (dummies, mocks and stubs) and test subjects
- state and behavioural (mocks) expectation API
- JUnit test runner integration
- Ant tasks
The sections below illustrate using Instinct for the examples from Using Testing Frameworks with Groovy.
The Item Storer Example
Here is how you might use Instinct to integration test the Item Storer Example#AnItemStorerExample]: