Tag Archives: Unit Testing

How to execute ms tests in parallel on multi-cpu / core machines

VS 2010 supports running MS Tests in parallel. Most of the machines available in the market are multi-cpu / core machines. This will help us to increase the number of tests executing in same time, which will reduce total test … Continue reading

Posted in .Net, Unit Testing, Visual Studio | Tagged , , , , , | 1 Comment

MSTest.exe does not deploy all items

Today while working on some regression build issues, me and my lead noticed one problem with MS Tests, we are running MSTest.exe from commandline to execute few tests. The problem was MSTest.exe was is not copying all the referenced assemblies … Continue reading

Posted in .Net, Miscellaneous, Unit Testing | Tagged , , , , | 1 Comment

Debugging NUnit Tests in Visual Studio 2010

If you are using NUnit with .Net 4.0 assemblies in Visual Studio 2010, while debugging, you will get this warning from breakpoints locations, “The breakpoint will not currently be hit. No symbols have been loaded for this document” This issues … Continue reading

Posted in .Net, .Net 4.0, Unit Testing, Visual Studio, Windows 7 | Tagged , , , , , | Leave a comment

How to unit test internal classes in .net

Often we used to isolate our classes using internal access modifier, in ideal scenario it doesn’t require to write unit tests for internal classes. But sometimes we require to do  test internal classes. We can do it using two ways … Continue reading

Posted in .Net, Miscellaneous, Unit Testing | Tagged , , | Leave a comment

Test impact analysis in Visual Studio 2010

Test impact analysis helps developers to identify which all tests should run after code changes. This feature only available in Ultimate and Premium editions and only works with Managed code. Create a class library project, it is our production code, … Continue reading

Posted in .Net, .Net 4.0, Unit Testing, Visual Studio | Tagged , , , , | Leave a comment