Ticket #75 (new enhancement)

Reporter


Fabian Frank
Opened: 06/5/12
Last modified: 06/5/12
Status: new
Type: enhancement

Owner


Nicholas C. Zakas
Target Release:
Priority:
Summary: Asynchronous operations in setUp and tearDown methods
Description:

In ticket http://yuilibrary.com/projects/yuitest/ticket/44 support for asynchronous operations in init, tearDown and setUp was requested. init now supports asynchronous operations via the "async:init"
function. However, we have a use case where we need asynchronous operations in tearDown and in the future probably setUp operations. For example we use YUITest to run functional tests and after those
tests we have to make a call (over the network) to clean up / undo what our functional test has done. Before the test is running, we might want to do some preparation, to make sure the test runs in a
well defined environment, and those preparations also might involve requests over the network. I think it would be a good idea to support asynchronous operations not only in init, but also in setUp
and tearDown, as it was originally requested in ticket 44 as well.

Type: enhancement Observed in Version: development master
Component: YUI Test for Node.js Severity: S3 (normal)
Assigned To: Nicholas C. Zakas Target Release:
Location: Priority:
Tags: nodejs, async, setup, teardown, asynchronous, init, functional Relates To: #44
Browsers: N/A
URL:
Test Information: