SysTest.run Method [AX 2012]

Runs the test method and writes the result to an instance of the SysTestResult class.

Syntax

public SysTestResult run(SysTestResult _result)

Run On

Called

Parameters

  • _result
    Type: SysTestResult Class
    An instance of the SysTestResult class to write the results of the test method to.

Return Value

Type: SysTestResult Class
The instance of the SysTestResult class where the results of the test method are written.

See Also

SysTest Class

SysTestCase Class

SysTestSuite Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework