Is there a way to programmatically skip rows in a data drive unit test? I want to run all rows on our build server, but only one row when debugging.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you could do is generate a test that only performs its action on one row. Then create another test that is a single liner, calling the single row test. Make this your actual data-driven test.
Include the data-driven (skeleton) tests in your nightly build process and use the single row one during debugging.