Version: v0.7.0 - Beta.  We welcome contributors & feedback.

Test.ok

$t.ok($assertion, $description) -> self

Description

If assertion evaluates to true, the test passes. Otherwise it fails.

$t = Test()

$t.ok('abc'.reverse() == 'cba', 'reverse string')