The apptest library

This JavaScript library contains the test runner for app tests (called AppTest), a superclass for reporters (called Reporter) and the Browser class. The AppTest class is used internally to run the tests and report the results,

Public API of AppTest:

  • assert(arg):

raise an AssertionError if arg is false.

  • assertEquals(arg1, arg2):

raise an AssertionError if arg1 is not equal to arg2.

  • hrefToPath(href):

convert an absolute href to an absolute path.