Fork me on GitHub

fixture-state-management by rssh

infrastructure for using managed fixtures

It's about tests which operate on fixtures containing external state. The idea is that before running each test we describe the state of the fixture needed for this test in a micro-dsl and provide operations to load the required fixture state from some external source.

Then the test running engine will set up the fixture with the required state before calling each test, according to given description, and will execute the states in the order that minimizes the number of state loads.

A typical usecase for such scenario is where the fixture is a connection to relational database and the test 'knows' that database is in a specific state.

Here is

Dependencies

scalatest (optional)

License

Apache

Authors

Ruslan Shevchenko (ruslan@shevchenko.kiev.ua)

Download

You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://github.com/rssh/fixture-state-management

You can also get artifacts on http://rssh.github.com/fixture-state-management/repo using sbt tool: