Test.TestSuite Class
Defined in:
Module: test
yui3/src/test/js/TestSuite.js:3
A test suite that can contain a collection of TestCase and TestSuite objects.
Methods
add
(
-
testObject
Adds a test suite or test case to the test suite.
Parameters:
-
testObject
Test.TestSuite | | YUITest.TestCaseThe test suite or test case to add.
setUp
()
Function to run before each test is executed.
tearDown
()
Function to run after each test is executed.
Properties
items
Array
private
Array of test suites and test cases.
name
String
The name of the test suite.