-
Notifications
You must be signed in to change notification settings - Fork 183
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
Support for data driven testing #1265
Comments
This is duplicate #1028 Have you considered implementation of a loop in your own test for example It will not produce a multiple test results in report but will achieve task. Cheers Lukasz |
Thanks Lukasz, Yes.. you are right about parameters. It is a complex matter with different types as well as with parameter list varies from function to function. Yes we intend to use 'loop' for data driven tests, but we are more excited to see an option similar to Junit OR testNG style param tables should possible. |
Is your feature request related to a problem? Please describe.
It would be better that we have an option for data driven testing using a data table similar to junit. The purpose is, then we could iterate the same invocation for method under test for multiple data input combinations.
Example
Inputparam1|Inputparam2|expected
10|uditha|success
0|guest|unsuccess
So that we could iterate the test for multiple input combinations.
Data driven approach for unit testing is more powerful. Because a developer could improve the test coverage by expanding the data table.
Note
Want to discuss
If you want to discuss your issue, join our SLACK chat.
The text was updated successfully, but these errors were encountered: