Search:
Class UnitTest
class
UnitTest
Constructor Summary
Constructor Details
constructor UnitTest
UnitTest(String
description, String
totalAssertionCount, Function
testCase, String
description, Integer
totalAssertionCount, Function
testCase)
Creates a new UnitTest
.
Parameters:
description
- the description of the unit test.
totalAssertionCount
- the overall number of assertions
that the UnitTest
's testCase will run.
testCase
- the test case to run when executing the
UnitTest
.
description
- the description of the test case.
totalAssertionCount
- a non zero integer for the total
assertion count in the test case.
testCase
- the actual test case reference.
See also:
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.