This class implements a UI using OnGUI and allows the user to run a UnitTest by clicking on a button. Additionally, it handles running any number of unit tests.
More...
This class implements a UI using OnGUI and allows the user to run a UnitTest by clicking on a button. Additionally, it handles running any number of unit tests.
delegate void IBM.Watson.DeveloperCloud.Editor.UnitTestManager.OnTestsComplete |
( |
| ) |
|
void IBM.Watson.DeveloperCloud.Editor.UnitTestManager.QueueTest |
( |
Type |
test, |
|
|
bool |
run = false |
|
) |
| |
|
inline |
Queue test by Type to run.
- Parameters
-
test | The type of the UnitTest to run. |
run | If true, then the test co-routine will be started after queueing. |
void IBM.Watson.DeveloperCloud.Editor.UnitTestManager.QueueTests |
( |
Type[] |
tests, |
|
|
bool |
run = false |
|
) |
| |
|
inline |
void IBM.Watson.DeveloperCloud.Editor.UnitTestManager.RunTests |
( |
| ) |
|
|
inline |
Start running all queued tests.
string IBM.Watson.DeveloperCloud.Editor.UnitTestManager.ProjectToTest = null |
|
static |
OnTestsComplete IBM.Watson.DeveloperCloud.Editor.UnitTestManager.OnTestCompleteCallback |
|
getset |
This callback is invoked when all queued tests have been completed.
bool IBM.Watson.DeveloperCloud.Editor.UnitTestManager.QuitOnTestsComplete |
|
getset |
If true, then the editor will exit with an error code once the last test is completed.
int IBM.Watson.DeveloperCloud.Editor.UnitTestManager.TestsComplete |
|
get |
Number of tests that have completed.
int IBM.Watson.DeveloperCloud.Editor.UnitTestManager.TestsFailed |
|
get |
Number of tests that have failed.
The documentation for this class was generated from the following file: