Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 16.0.
Sets the required TestIsolation for tests in this codeunit to run in.
Applies to
- Codeunit
 
Property value
| Value | Available or changed with | Description | 
|---|---|---|
| None | runtime version 16.0 | Specifies that this test codeunit can run by a TestRunner with any TestIsolation. | 
| Disabled | runtime version 16.0 | Specifies that this test codeunit is required to be run by a TestRunner with Disabled TestIsolation. | 
| Codeunit | runtime version 16.0 | Specifies that this test codeunit is required to be run by a TestRunner with Codeunit TestIsolation. | 
| Function | runtime version 16.0 | Specifies that this test codeunit is required to be run by a TestRunner with Function TestIsolation. | 
Remarks
The RequiredTestIsolation property allows engineers to set the required TestIsolation for the test codeunit to run in. If the selected TestRunner doesn't satisfy the test codeunit's RequiredTestIsolation property, then the tests might fail. The property can be used to group tests for execution and reporting in CI/CD pipelines. Learn more about how the TestType property can be used to categorize tests.
Related information
Getting started with AL
Developing extensions
TestType property