Instructions to use jsUnit
diff --git a/JavascriptRefactoring.wiki b/JavascriptRefactoring.wiki index 071b572..003f235 100644 --- a/JavascriptRefactoring.wiki +++ b/JavascriptRefactoring.wiki
@@ -61,6 +61,18 @@ * Strict white space indentation: set it to *2* ==jsUnit== +Provisional tests for [http://bitbucket.org/dhans/statistic-module-for-melange/src/tip/app/soc/content/js/melange.js melange.js] and [http://bitbucket.org/dhans/statistic-module-for-melange/src/tip/app/soc/content/js/melange.graph.js melange.graph.js] can be found in {{{ tests/javascript/melange.tests.html }}}, [http://bitbucket.org/dhans/statistic-module-for-melange/src/tip/tests/javascript/melange.tests.html source code for tests in the repository can be found here]. + +To run jsUnit, you need to point your browser to this file: + +{{{ ./thirdparty/jsunit/testRunner.html }}} + +In the input line that will be shown, insert the path (URL style) of + +{{{ ./tests/javascript/melange.tests.html }}} + +starting from your home directory. +Then you just need to click "Run", and it will run the test against the code. Fill free to set "Test level" to "debug (highest)" to see more details. ==jsCoverage==