API Docs for: 3.18.1

Test.Console Class

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

Methods

_blankSummary

() Object

Generates a generic summary object used for Istanbul conversions.

Returns:

Object:

Generic summary object

_isIstanbul

(
  • json
)
Boolean

Scans the coverage data to determine if it's an Istanbul coverage object.

Parameters:

  • json Object

    The coverage data to scan

Returns:

Boolean:

True if this is Istanbul Coverage

parseInstanbul

(
  • coverage
)

Takes an Istanbul coverage object, normalizes it and prints a log with a summary

Parameters:

  • coverage Object

    The coverage object to normalize and log

parseYUITest

(
  • coverage
)

Parses and logs a summary of YUITest coverage data.

Parameters:

  • coverage Object

    The YUITest Coverage JSON data