O'Reilly logo

Software Testing using Visual Studio 2012 by Satheesh Kumar. N, Subashni. S

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Data-driven unit testing

This type of testing is useful in carrying out the same test multiple times with different input data from a data source. The data source can have any number of test records or data rows, and the test can be run successively for each row.

Instead of passing each data row value to the test application and executing an entire test for each data row, we link the test method to the data source. So when the test is run, the test method is executed for each data row in the source.

This is similar to web testing or load testing, with a data source attached to the web method parameters. This could be used in case of testing multiple user scenarios with different user logins to check the access permission, or to validate the data ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required