TestProduction also provides several auxiliary methods that you can use within your callback methods. The following table describes several of these methods. The class documentation for %UnitTest.TestProductionOpens in a new tab describes all of the auxiliary methods in detail.
Use this method to call the Testing Service to send a request message to a component. Note that testing must be enabled for the production.
Use this method to copy a file from one directory into another.
Use this method to compare the contents of two files.
Use this method to retrieve records from the event log.
Creates a test directory tree. MainDir contains the default root of the tree. The default value of MainDir is TestAutoNNN at the same level as the installation directory. NNN is the build number of the InterSystems IRIS® instance.
Defines production credentials.