Test are always run with codeunit Test Runner - Isol. Codeunit #1565
Replies: 3 comments
-
One solution could be to add a testsettings.json file in the same location as the test app (same location you would place disabledtests.json) and in that you could specify settings for tests that are not available in settings. |
Beta Was this translation helpful? Give feedback.
-
Will move this to the backlog as a suggestion. |
Beta Was this translation helpful? Give feedback.
-
for tracking reasons thanks in advance |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When the tests are run in the pipelines all tests are kicked of with the codeunit "Test Runner - Isol. Codeunit".
Only if you want to test the API's you must use "Test Runner - Isol. Disabled".
So it would be very helpfull that you can define in the pipeline or something else which test are runing with the isolation codeunit and some tests with the isolation disabled.
Otherwise you cannot test your API's because you must commit a value into the database when you do a GET request.
Moslty you run first all the test with the isolation codeunit and after those are finished you have to run the tests with isolation disabled.
Beta Was this translation helpful? Give feedback.
All reactions