Module unit.core


module unit.core
Requires modules: core , debugger.core , dom.scroll , string.core

This package is a unit test runner, that is used to test js units.

Defined in o2.unit.core.js

Class Summary

Defines a test unit.

This class is isolated, and it is only available in the unit meta's callback given to the o2.Unit.add method.

A "unit test" runner.

Runs UnitTests.

Function Summary

Usage example:

 test.terminate();
 

Terminates the unit test by setting remaining assertion count to zero.

Function Details

function terminate

terminate()

Usage example:

 test.terminate();
 

Terminates the unit test by setting remaining assertion count to zero.