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!

11/28/2008 specs 1.4.1 NEW: Upgraded to Scala-2.7.2. Compatible with ScalaCheck 1.5. Added doFirst/doLast methods to execute actions before and after executing all the examples of a system. Added precise failure messages. Added new matchers (containInOrder for iterables, havePairs matcher for Maps). Added one-liners for ScalaCheck properties. Used Manifests to simplify the Throwable matchers and the JMock declarations. Fixed  issue 45  which introduced unnecessary API breaks. (Other fixes and improvements
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.4.1.jar;specs-1.4.1-tests.jar;scalacheck-1.5.jar;scala-library-2.7.2.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 0 second, 156 ms                                             
640 examples, 6961 expectations, 0 failure, 0 error                                                            

tested with Scala 2.7.2-final

Happy specs!