J
Jay Pondy
I need to run a single test multiple times based on SETS of rows from an
Excel spreadsheet - not just one row at a time.
I have looked at the "data driven" test example for adding two numbers and
verifying the result. The problem is that this example applies the test to
only ONE row at a time and I need to apply a single test multiple times using
a varying set of rows during each run.
As far as I can tell a TestMethod is run only once with the exception of the
"data driven" type where the method is decorated with the DataSource
attribute. I need the method run and the results of each run reported
multiple times.
I tried looping in a test method but as soon as the first test fails the
method is aborted and the result reported.
Any guidance would be most appreciated as I am fairly new to the Visual
Studio testing environment.
Jay Pondy
Excel spreadsheet - not just one row at a time.
I have looked at the "data driven" test example for adding two numbers and
verifying the result. The problem is that this example applies the test to
only ONE row at a time and I need to apply a single test multiple times using
a varying set of rows during each run.
As far as I can tell a TestMethod is run only once with the exception of the
"data driven" type where the method is decorated with the DataSource
attribute. I need the method run and the results of each run reported
multiple times.
I tried looping in a test method but as soon as the first test fails the
method is aborted and the result reported.
Any guidance would be most appreciated as I am fairly new to the Visual
Studio testing environment.
Jay Pondy