test-console Module
+ + + + +
+
+
+
+ Provides a specialized log console widget that's pre-configured to display YUI +Test output with no extra configuration.
+
+
+
+
+Example:
+
+
+ <div id="log" class="yui3-skin-sam"></div>
+
+<script>
+YUI().use('test-console', function (Y) {
+ // ... set up your test cases here ...
+
+ // Render the console inside the #log div, then run the tests.
+ new Y.Test.Console().render('#log');
+ Y.Test.Runner.run();
+});
+</script>
+
+
+
+
+
+
+
+
+ This module provides the following classes:
+ +-
+
+
- + + Test.Console + + + +
+
+
+