SysTestSuite.add Method [AX 2012]

Adds a test case or a test suite to the suite.

Syntax

public void add(anytype _test)

Run On

Called

Parameters

  • _test
    Type: anytype
    The test or suite to add.

Remarks

You can pass in either the name of a class, the ID of a class, or an instance of the class. The class must implement either the SysTestExecutable interface or the SysTestable interface to be added.

See Also

SysTestSuite Class

SysTestCase Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework