Clone wiki

timesheets / tests

Validation tests

The source code of the tests can be found in the repository, in "/tests" folder. An html file loads a 'main' file (eg. main.js), whose path is defined in the data-main attribute of the script tag of the loader.

Test files load the required libs from Bitbucket repository (may be a bit slow), so you can create new tests in local disk, without having to download the libs, and access the dependencies (timesheets, baselibs) from the repository.

At the moment, only a very small set of tests is available: