You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, runner takes all test cases and run them in alphabetical order by their names. Althought, you can manipulate with the order. You can do it even during run-time. For these purposes, you can use these methods:
publicvoidNextTestCase(stringtestName);// Test case that will run nextpublicvoidNextFolder(stringfolderName);// Folder that will run nextpublicvoidSkipTestCase(stringtestName);// Test case to be ignored/skippedpublicvoidSkipTestCases(paramsstring[]testNames);// Test cases to be ignored/skippedpublicvoidSkipFolder(stringfolderName);// Folder to be skipped at all
These methods can be especially useful, when Response contains values that alter next behavior, or when tests failed and next request(s) don't make sense anymore.
Be careful with these methods, since you can cause endless loop!
If you want to specify order of tests at once, you can do it by using this method:
tp.ConfigureRunner(runner =>{runner.SetOrder("Test 1","Test 25","Auto Test");runner.Skip("Ignor Me Test","Test 0");})
The text was updated successfully, but these errors were encountered:
matejicko
changed the title
API - Test Runner Module
API - Test Runner
Aug 7, 2024
By default, runner takes all test cases and run them in alphabetical order by their names. Althought, you can manipulate with the order. You can do it even during run-time. For these purposes, you can use these methods:
These methods can be especially useful, when
Response
contains values that alter next behavior, or when tests failed and next request(s) don't make sense anymore.Be careful with these methods, since you can cause endless loop!
If you want to specify order of tests at once, you can do it by using this method:
The text was updated successfully, but these errors were encountered: