API Docs for: 3.8.0
Show:

Test.TestSuite Class

Module: test

A test suite that can contain a collection of TestCase and TestSuite objects.

Item Index

Methods

Properties

Methods

add

(
  • testObject
)
Void

Adds a test suite or test case to the test suite.

Parameters:

  • testObject Test.TestSuite | | YUITest.TestCase

    The test suite or test case to add.

Returns:

Void:

setUp

() Void

Function to run before each test is executed.

Returns:

Void:

tearDown

() Void

Function to run after each test is executed.

Returns:

Void:

Properties

items

Array private

Array of test suites and test cases.

name

String

The name of the test suite.