specd - write more expressive unit tests

jostly johan.f.ostling at gmail.com
Mon Sep 2 12:03:28 PDT 2013

specd is a DSL library allowing you to write more expressive unit 
tests. It is inspired by projects like specs2 and ScalaTest from 
the Scala world.


     unittest {
         describe("a string")
             .should("have a length property", 

* DSL for expressing unit tests as specifications
* Verify with "must" instead of assert
* Report successful / failed tests using green / red paradigm

Available as a dub dependency ("specd") or from 

Comments and suggestions for improvement are welcome!


More information about the Digitalmars-d-announce mailing list