search

goog.testing.ContinuationTestCase.ContinuationTest

Provided By
Extends

Creates a continuation test case, which consists of multiple test steps that occur in several phases.

The steps are distributed between setUp, test, and tearDown phases. During the execution of each step, 0 or more steps may be added to the current phase. Once all steps in a phase have completed, the next phase will be executed.

If any errors occur (such as an assertion failure), the setUp and Test phases will be cancelled immediately. The tearDown phase will always start, but may be cancelled as well if it raises an error.

new ContinuationTest( setUp, test, tearDown )

Parameters
setUp(goog.testing.TestCase.Test|null)

A setUp test method to run before the main test phase.

test(goog.testing.TestCase.Test|null)

A test method to run.

tearDown(goog.testing.TestCase.Test|null)

A tearDown test method to run after the test method completes or fails.

Instance Methods

Instance Properties