NBi
NBi copied to clipboard
Creating a loop in a test case
Hi,
I have a scenario where i need to execute a test case /SQL query 500 times on DWH.
I found "instance-settling" and "loop-sentinel" for creating a loop. However with this i am getting 500 test cases in my Nunit. Is there any other way to achieve this with a single test case in Nunit as i just need to execute the query on DWH and no further comparison/ assertion is required. Successful execution of query is required to mark the test case as pass. For example, in code below i have created 5 instances of a test case:
This behaviour is on purpose to have a small granularity for each test. Having many tiny tests (and not one huge test) is considered as a best practice in terms of test automation. It's a won't fix.