Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Instinct is a Behaviour Driven Development (BDD) framework for Java. Inspired by RSpec, Instinct provides:

  • 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 Stack Example

Here is how you might use Instinct to test the Stack Example:

The Item Storer Example

Here is how you might use Instinct to integration test the Item Storer Example:

  • No labels