example
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
************ *********************************** Instinct *********************************** ************ <http://code.google.com/p/instinct/> * What is Instinct? * IInstinct 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. * Distribution Contents * The distribution contains the following contents: o README - This readme file. o LICENCE - Instinct licence file. o NOTICE - Licence notices for libraries used in Instinct. o RELEASE-NOTES - Release notes for this & previous releases. o lib/ - Libraries required by Instinct at runtime (including licences). * Documentation * Documentation can be found at: http://instinct.googlecode.com/. * Examples * This project contains example code specified using Instinct. It contains examples of most of the core features of Instinct, as well as more advanced features such as inheritance of specifications. It is intended to be used as a quick start guide, showing working examples of Instinct features. com.googlecode.instinct.example.calendar * Defining specifications in a baseclass and having them run when a suclass is run. * Defining a @BeforeSpecification method in a baseclass and having it run before each specification in the subclass and baseclass (if any). * Overriding a @BeforeSpecification in a subclass (overriding the base class version). * Defining @AfterSpecification methods in both a baseclass and a subclass and having them both run when the subclass spec is run. * Use of private lifecycle methods.