UnitTest:JQM Unit TC helper has been added,TCs have been modified
[platform/framework/web/web-ui-fw.git] / tests / unit-tests / runner.js
index 7ea8d94..6381612 100644 (file)
@@ -85,6 +85,10 @@ $(document).ready(function() {
                this.config.autostart = false;
        };
 
+       QUnit.done = function( details ) {
+               location.href = "../jqm-tchelper/result.php?t=" + details.total + "&p=" + details.passed + "&f=" + details.failed + "&r=" + details.runtime;
+       };
+
        // get the test directories
        new Runner().exec(TESTS);
 });