Parameters and Properties
There are several TestControl parameters and properties that you can override in your test class:
Here is a complete list of the available parameters.
||This is required. The value is the name of the production to be tested.
||Default value is 0. Set the value to 1 when you expect production errors during the test. If the value is 0 then an error causes the test to fail.
||Default value is 10. The maximum number of seconds to wait for the production to completely start before proceeding with the rest of the test.
||Default value is 10. The minimum number of seconds to allow the production to run before invoking callback methods such as GetEventLog and CheckResults and then stopping the production.
Here is a partial list of the available properties. Again, the class documentation for %UnitTest.TestProductionOpens in a new tab covers the complete list in detail.
||Contains the first Event Log ID for entries generated by the production during the test.
||Contains the last Event Log ID for entries retrieved by the GetEventLog method.
||Name of the InterSystems IRIS® instance.
||Name of the machine.
||DSN for use with the USER namespaces of the InterSystems IRIS instance.