Description
A simple test file failed with JUTE and here is the output:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
Test Timed Out: Most likely a Javascript parsing error - try loading /test/simple.html in your browser
Just opening the test page works fine:
yui-min.js:11TestRunner: Testing began at Tue Nov 01 2011 10:24:08 GMT-0700 (PDT).
yui-min.js:11TestRunner: Test suite "Simple Suite" started.
yui-min.js:11TestRunner: Test case "testCaseyui_3_4_1_1_1320168248241_28" started.
yui-min.js:11TestRunner: testSomething: passed.
yui-min.js:11TestRunner: Test case "testCaseyui_3_4_1_1_1320168248241_28" completed.
Passed:1 Failed:0 Total:1 (0 ignored)
yui-min.js:11TestRunner: Test suite "Simple Suite" completed.
Passed:1 Failed:0 Total:1 (0 ignored)
yui-min.js:11TestRunner: Testing completed at Tue Nov 01 2011 10:24:08 GMT-0700 (PDT).
Passed:1 Failed:0 Total:1 (0 ignored)
And here is the test page:
<title>Test Suite Example</title> <script src="http://yui.yahooapis.com/3.4.1/build/yui/yui-min.js"></script>Simple Test 1
<script language="javascript"> YUI({useBrowserConsole:true}).use("node", "test", function(Y) { var suite = new Y.Test.Suite("Simple Suite");
suite.add(new Y.Test.Case({
testSomething: function() {
Y.Assert.areEqual("1", "1", "failed - different");
}
}));
Y.Test.Runner.add(suite);
Y.Test.Runner.run();
});
</script>
<div id="output"></div>
<iframe id="scene" width="800" height="600"></iframe>
</body>
Activity