Version 3.18.1

test-console Module

User Guide & Examples

Available since 3.5.0

Provides a specialized log console widget that's pre-configured to display YUI Test output with no extra configuration.


<div id="log" class="yui3-skin-sam"></div>
            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');

This module provides the following classes: