# Yahoo! UI Library

### yuitest 2.3.1

Yahoo! UI Library > yuitest > YAHOO.tool.TestSuite

Show Private Show Protected

## Class YAHOO.tool.TestSuite

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

### Constructor

YAHOO.tool.TestSuite `( name )`

Parameters:
  `name <String>` The name of the test fixture.

### Methods

#### add

`void add ( testObject )`
Adds a test suite or test case to the test suite.

Parameters:
  `testObject <YAHOO.tool.TestSuite||YAHOO.tool.TestCase>` The test suite or test case to add.

Returns: `void`

Copyright © 2007 Yahoo! Inc. All rights reserved.