프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Reset | void |
메소드 | 설명 | |
---|---|---|
Begin ( System.Action callback ) : void |
Register a callback to fire whenever the test suite begins. QUnit.begin() is called once before running any tests. (a better would've been QUnit.start, but thats already in use elsewhere and can't be changed.)
|
|
Done ( Action |
Register a callback to fire whenever the test suite ends.
|
|
Init ( ) : void |
Initialize the test runner. If the runner has already run, calling QUnit.init() will re-initialize the runner, effectively resetting it. This method does not need to be called in the normal use of QUnit. This is useful for being able to use the test runner for multiple batches of dynamically-loaded tests (load a batch of tests, get the results, re-init, load a new batch, etc.).
|
|
Log ( Action |
Register a callback to fire whenever an assertion completes. This is one of several callbacks QUnit provides. Its intended for integration scenarios like PhantomJS or Jenkins.
|
|
ModuleDone ( Action |
Register a callback to fire whenever a module ends.
|
|
ModuleStart ( Action |
Register a callback to fire whenever a module begins.
|
|
Start ( ) : void |
Start running tests again after the testrunner was stopped. When your async test has multiple exit points, call start() for the corresponding number of stop() increments.
|
|
Start ( int decrement ) : void |
Start running tests again after the testrunner was stopped. When your async test has multiple exit points, call start() for the corresponding number of stop() increments.
|
|
Stop ( ) : void |
Stop the testrunner to wait for async tests to run. Call start() to continue. When your async test has multiple exit points, call stop() with the increment argument, corresponding to the number of start() calls you need.
|
|
Stop ( int increment ) : void |
Stop the testrunner to wait for async tests to run. Call start() to continue. When your async test has multiple exit points, call stop() with the increment argument, corresponding to the number of start() calls you need.
|
|
TestDone ( Action |
Register a callback to fire whenever a test ends.
|
|
TestStart ( Action |
Register a callback to fire whenever a test begins.
|
메소드 | 설명 | |
---|---|---|
Reset ( ) : void |
public static Begin ( System.Action callback ) : void | ||
callback | System.Action | |
리턴 | void |
public static ModuleStart ( Action |
||
callback | Action |
|
리턴 | void |
public static Start ( int decrement ) : void | ||
decrement | int | Optional argument to merge multiple start() calls into one. Use with multiple corrsponding stop() calls. |
리턴 | void |
public static Stop ( int increment ) : void | ||
increment | int | Optional argument to merge multiple stop() calls into one. Use with multiple corrsponding start() calls. |
리턴 | void |