Thursday, February 25, 2010

Test Driven Development

Checkout this article to learn how to use VS Test Project to apply test driven development methology in your project. This article highlights the details on data driven test case

One point to note is that, it is possible to keep your test data in database, which is very useful in doing testing, instead of coding on the logic for your test data, you can leverage on the framework.

[TestMethod]
[Owner("Mark Michaelis")]
[TestProperty("TestCategory", "Developer"),
DataSource("System.Data.SqlClient",
"Data Source=.\\SQLEXPRESS;AttachDbFilename=\"";Integrated Security=True",
"LogonInfoTest",
DataAccessMethod.Sequential)]
public void ChangePasswordTest()

No comments:

Post a Comment