bdd
< process
< dev
< cluelessjoe
Get flash to fully experience Pearltrees
specs is a Behaviour-Driven-Design framework which provides: a simple and typed language to create specifications ( your first specification in 5 minutes ) class helloWorld extends Specification { "'hello world' has 11 characters" in { "hello world" . size must be equalTo ( 11 ) } "'hello world' matches 'h.* w.*'" in { "hello world" must be matching ( "h.* w.*" ) } } lots of matchers to specify code properties: "myString" must be matching ( "Str.*" ) // or to specify xml pieces using XPath-like operators: <a><b><c><d>< /d></ c ></ b ></ a > must \\( "c" ).\( "d" )
This guide explains the basic mechanics of turning specifications into active specifications using Concordion. It shouldn't take you more than 15-30 mins to complete, assuming you are already familiar with Java, JUnit and XHTML. Once you are comfortable with the basic mechanics, you might like to look at some Advanced Features . Installation To kickstart the tutorial, we've created a "Hello World!"