Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a loop in a test case #606

Open
Nisha3297 opened this issue Jul 29, 2020 · 2 comments
Open

Creating a loop in a test case #606

Nisha3297 opened this issue Jul 29, 2020 · 2 comments
Labels

Comments

@Nisha3297
Copy link

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:

Test_suite_1 SELECT * from table_name 1
@Nisha3297
Copy link
Author

image

@Seddryck
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants