Export to GitHub

instinct - UsersGuide.wiki


Topics

  • Introduction
  • Two minute introduction
  • GettingStarted
  • Obtaining Instinct via Maven
  • Creating specifications
  • State and behavioural expectations
  • Creating and using specification actors
  • Integrating with JUnit
  • Integrating with Ant
  • Integrating with Clover
  • Terminology

Introduction

Instinct is a Behaviour Driven Development (BDD) framework for Java. Inspired by RSpec, Instinct provides flexible annotation of contexts, specifications and actors; automatic creation of test doubles and test subjects; a state and behaviour expectation API; JUnit test runner integration; Ant support and an IntelliJ IDEA plugin.

Instinct is primarily designed to support developers as they are developing code, as an integral part of the act of programming. Instinct specifications also serve as a means of critiquing production code, in a similar manner to more traditional testing frameworks such as JUnit or TestNG.

So how do I get started?

Can I read more?

See/hear people talk about it?

Find more information?

Colophon

This user's guide gives an introduction to Instinct. The examples for this tutorial come from the example project (also available from the downloads page), full details and examples of all Instinct features are available there. The tutorial assumes you have downloaded Instinct. Details on terminology used are available on the terminology page.