{"title":"TestType Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-testtype-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-testtype-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-testtype-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Specifies the type of test implemented in the codeunit, such as unit test.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":136,"chars":24},{"level":2,"title":"Property value","slug":"property-value","at":160,"chars":657},{"level":2,"title":"Remarks","slug":"remarks","at":817,"chars":511},{"level":2,"title":"Related information","slug":"related-information","at":1328,"chars":183}],"text":"> Version: _Available or changed with runtime version 16.0._\nSpecifies the type of test implemented in the codeunit, such as unit test.\n## Applies to\n Codeunit\n## Property value\nValue|Available or changed with|Description\nUnitTest|runtime version 16.0|Specifies that the codeunit contains unit tests, which validate individual functions or logic in isolation from external dependencies. This is the default value.\nIntegrationTest|runtime version 16.0|Specifies that the codeunit contains integration tests, which verify interactions between multiple components or systems.\nUncategorized|runtime version 16.0|Specifies that the codeunit is not yet categorized.\nAITest|runtime version 16.0|Specifies that the codeunit contains AI tests, which validate behavior driven by artificial intelligence, for example, accuracy.\n## Remarks\nThe TestType property is used to categorize the type of tests implemented in a codeunit according to the primary purpose and scope of the test. This categorization helps organize tests and understand their purpose within the application. By specifying the appropriate test type, developers can ensure that their tests are grouped for execution and reporting in CI/CD pipelines. Learn more about how the devenv-requiredtestisolation-property can be used to set the required isolation level for tests.\n## Related information\nGetting started with AL<../devenv-get-started>\nDeveloping extensions<../devenv-dev-overview>\ndevenv-testisolation-property\ndevenv-requiredtestisolation-property"}