SysTestSuite.new Method [AX 2012]

Initializes a new instance of the SysTestSuite class.

Syntax

public void new([anytype _test, boolean _automaticallyAdd])

Run On

Called

Parameters

  • _test
    Type: anytype
    The name of the suite; optional.
  • _automaticallyAdd
    Type: boolean
    A Boolean value that specifies whether the test methods of the class that is specified by the _test parameter should be added to the suite automatically; optional.

Remarks

If an object is passed as the _test parameter, the name of the suite will be extracted from the object.

See Also

SysTestSuite Class

SysTestCase Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework