Ticket #44 (checkedin enhancement)
Reporter Johnny Weng Luu |
Opened: 06/15/11 Last modified: 06/4/12 Status: checkedin Type: enhancement |
Owner Nicholas C. Zakas |
Target Release: Priority: P3 (normal) |
|---|---|---|---|
| Summary: | async code in init(), destroy(), setUp() and tearDown() functions | ||
| Description: | I run some async codes in these methods. One of my test files requires a directory to be created before the tests are run. I do this by calling an async function in setUp(). The problem is that the tests are run before the directory has been created. Perhaps it would be good to support asynchronous code in these methods so the tests will run once the async code is completed. |
||
| Type: | enhancement | Observed in Version: | development master |
| Component: | Coverage | Severity: | S3 (normal) |
| Assigned To: | Nicholas C. Zakas | Target Release: | |
| Location: | Priority: | P3 (normal) | |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: | |||
This is now supported by
"async:init": function(){
//do something and then call this.callback();
}