RunTests Method
Runs a set of tests and returns an overall pass/fail result. The XJEase functions are run synchronously i.e. control does not return from this method until all TestFunctions have completed.
Type: Runner
Namespace: XJTAG.Integration.XJRunner
Syntax
public bool RunTests(TestCollection testList)
Parameters
- testList
Type: TestCollection
The collection of tests to run.
Return Value
- bool
True if all the selected tests passed, false otherwise.
Exceptions
- RuntimeException
There was an error running the XJEase code.
- System.ObjectDisposedException
The Runner has already been disposed.
Remarks
When running tests, any Conditions set for a test in the XJRunner Test list will be evaluated (as in XJRunner), and tests will be executed if the relevant conditions evaluate to TRUE or have been overridden to return TRUE.
The post-function and post-testing function, if defined, will both be run.
If logging is enabled in the project, then the log file will be written to.
XJTAG v4.2.5
