Goal: To run the simplest C# test cases created in NUnit
Setup: Visual Studio C# 2010 Express, and NUnit 2.5.10 (If you don’t have these installed follow the installation process here)
Steps:
- Create the Test Projecti) Open Visual Studioii) Create New Project using template ‘NUnit Test Application’ and rename it if you wantiv) If you open the file ‘TestFixture.cs’ sample test cases have already been created for you containing a test case which will Pass and another that will Failv) Go ahead and build this solution by clicking Debug > Build (hit CTRL + SHFT + B)
- Run the Test Projecti) Open Nunit and click File > Open Projectii) Browse to the .dll or .exe file for the .NET project we have created in step 1 (My location: (C:\Users\QA Computer\Documents\Visual Studio 2010\Projects\NUnitTest1\NUnitTest1\NUnitTest1\bin\Release)iii) The tests will open in the Test explorer at left.
What are Entry and Exit Criteria in the Software testing life cycle?
ReplyDeleteTest Management Challenges and Best Practices
Software Testing FAQ and Interview Questions and Answers
Quick Overview of QTP 10 (2012-06-14 17:30:12 - )
A fresh overview of HP Quality Center
9 Common Myths about Performance Testing
How to write a good test case?
Five common misunderstandings about Software Testing tools
Answers To Common Job Interview Questions
Behavioral Questions In Interviews