This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var YUI = require("yui3").YUI | |
, otherSuite = require("./other_suite") | |
; | |
YUI({logInclude:{TestRunner:true}}).use("test", function(Y) { | |
var suite = new Y.Test.Suite("Server Test Suite"); | |
var test_nothing = new Y.Test.Case({ | |
name: "Testing nothing", | |
"testing nothing special": function() { | |
Y.Assert.areEqual(5,5); | |
} | |
}); | |
suite.add(test_nothing) | |
Y.Test.Runner.add(suite); | |
//Y.Test.Runner.add(otherSuite); | |
//Y.Test.Runner.run(); // works totally fine | |
var tap = Y.Test.Runner.getResult(Y.Test.Format.TAP); | |
console.log(tap); // nothing | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment