Version: v0.6.0 - Beta.  We welcome contributors & feedback.  THanks!

Test

Functions for writing unit tests.

$t = Test.new();

$t.ok(1 == 1, '1 equals 1');
$t.ok(2 + 2 == 5, '2 + 2 equals 4');

Web.print($t.resultsHtml());
//= { numPassed: 1, numFailed: 1 }

Methods