Just turned a C# programmer. I had been developing in Java for 8 years. But now i need to learn a new language after going into my new job.
What are the testing methods available for testing in C# and in Visual Studio IDE?
Is there anything similar to Java's JUnit testing + Java assertions for C#?
Any other tools for testing in C#?
Loading
Dharmendra GaurPosted Aug 19, 2009, 6:22 AM
- Code generation of test method stubs.
- Running tests within the IDE.
- Incorporation of test data loaded from a database.
- Code coverage analysis once the tests have run.
There is NUnit available in Visual Studio IDE similar to Java's JUnit testing. NUnit is the dotnet port of the XUnit framework created by Kent Beck. NUnit provides a command line and GUI Runner with different user experiences depending on the intended use.VSTEST and VSTESD are also availale here in Visual Studio. VSTEST and VSTESD are editions of microsoft Visual Studio that go above and beyond the Visual Studio professional edition experience by providing role specific extentions to the IDE experience.
VSTEST is specifically targeted at the tester role by providing a set of features for testing applications and services. While VSTESD provides tools enabling people in developers roles to have a greater understanding of their code through performance, code analysis tools, and Unit Testing.
Mark as answer if this post answered your question.
Kirtan PatelPosted Aug 19, 2009, 6:34 AM
Earlier versions of Microsoft visual Studio Doesn't Came up with Unit Testing
But now Microsoft has Introduced Unit Testing in Their Development Environment they
Included New Unit Testing Menu In IDE By Which You can perform Various Testing of Application
Now you can create Unit Test in Visual Studio it self that's one of the greatest Improvement in VS2008
dont Forget to mark "Do you like answer" it will give me some credits :)
Happy Coding :)