SysTest::newTestable Method [AX 2012]

Returns a SysTest class created for a given class and method that can be tested.

Syntax

client server public static SysTest newTestable(SysTestable _testable, str _methodName)

Run On

Called

Parameters

  • _methodName
    Type: str
    The name of the test method.

Return Value

Type: SysTest Class
A SysTest class created for a given class and method that can be tested.

See Also

SysTest Class

SysTestCase Class

SysTestSuite Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework