Version 3.18.1
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
)

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.

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.