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.

Example:

    unittest {
        describe("a string")
.should("have a length property", "foo".length.must.equal(3));
    }

Features:
* 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 https://github.com/jostly/specd

Comments and suggestions for improvement are welcome!

//Johan

Reply via email to