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

Test

Functions for writing unit tests.

$t = Test()

$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

Test Cases

Results