#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# test-console Module

User Guide & Examples
Defined in: `test-console/js/test-console.js:1`

Available since 3.5.0

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