What's new? | Help | Directory | Sign in
Google
                
Code License: MIT License
Labels: scala, bdd, junit, scalacheck, scalatest, jmock
How to join?
Project owners:
  etorreborre
Project members:
david.bernard.31, jorge.ortiz

Welcome to specs!

7/21/2008 specs 1.3.1 NEW: Added tags to include and exclude examples from specs at execution time. (Other fixes and improvements).
6/20/2008 specs 1.3.0 NEW: repeated examples, anonymous examples, one liner methods for jMock, capturing parameters for jMock, detailed differences using the Edit distance. Fixed  issue 29  and time reporting in the console
5/27/2008 specs 1.2.9 NEW: Added contexts for better specification structuration (see the reworked stack specification sample)
5/24/2008 specs 1.2.8 NEW: added some FileMatchers. Defined a reusable SpecsMatchers trait to be able to reuse specs matchers outside of a specification. Added a -ns or --nostacktrace option to the ConsoleRunner to remove stacktraces from the console output. (Other fixes and improvements)

specs is a Behaviour-Driven-Design framework which provides:

The first time

You can download the current library distribution (or get it with Maven) and execute:

java -cp specs-1.3.1.jar;specs-1.3.1-tests.jar;scalacheck-1.3.jar;scala-library-2.7.1.jar;junit-4.4.jar;cglib-2.1_3.jar;asm-1.5.3.jar;objenesis-1.1.jar;hamcrest-all-1.1.jar;jmock-2.4.0.jar org.specs.allRunner

Then you should see the whole specification for the specs project, ending with:

Total for specification "The specs and unit tests for the specs project":               
Finished in 19 seconds, 16 ms                                                           
484 examples, 2350 assertions, 0 failure, 0 error                                       

tested with Scala 2.7.1-final

Happy specs!