-
Notifications
You must be signed in to change notification settings - Fork 9
JavaScriptUnitTesting
felixKubicek edited this page Sep 17, 2014
·
9 revisions
All resources related to testing the JavaScript client-side code can be found in FuzzEd/tests/js-tests/.
The previously mentioned directory contains the following subdirectories:
-
src- contains the actual unit tests, as well as an html file, called (test_tunner.html) used for initialization of the testing environment, as well as execution of the unit tests -
lib- contains libraries related to testing
The Unit tests can be executed in the following two ways:
-
- Open
test_tunner.htmlin a browser
- Open
-
- Execute
scons run.js_testson the command line (executiontest_tunner.htmlusing the headless browser pluginmocha-phantomjs)
- Execute