Available test assertions

shouldBe(test, expected)
Evaluates the strings test and expected as expressions and tests that the results are strictly equal (===). If you want to test with normal equality instead of struct equality, then instead of shouldBe("expr1", "expr2") write shouldBeTrue("expr1 == expr2");
shouldBeTrue(test)
Evaluates the string test and tests that the results are strictly equal (===) to true. Same effect as shouldBe(test, "true").
shouldBeFalse(test)
Evaluates the string test and tests that the results are strictly equal (===) to false. Same effect as shouldBe(test, "false").
shouldBeNaN(test)
Evaluates the string test and tests that the results are the floating point number NaN. Testing with shouldBe won't work in this case since NaN is not equal to itself.
shouldBeUndefined(test)
Tests that the type of expression test is undefined. Testing with shouldBe won't work in this case since some undefined expressions throw an exception if you try to actually evaluate them.
shouldThrow(test[, exception])
Tests that evaluating expression test throws an exception. Optionally you can specify what exception to test for, but I don't think this usefully works right now. What you really need is a way to state test assertions about exception.
shouldNotThrow(test)
Tests that evaluating expression does not throw an exception.