Sunday, July 08, 2012

What is new in Visual Studio 2012 Unit Tests.


What is new in Visual Studio 2012 Unit Tests
1. Can search a unit test from IDE
2. The new Fake environment let you test anything in isolation, even when it has external dependencies.
Stubs:- Concrete Implementations of interfaces or abstract classes that you can pass in to your system-under-test to isolate it from real implementations
Shims:- generated classes that enable you to intercept and replace calls to existing classes, even those from the .NET BCL.
They are evil.
Use them and then refactor your code to remove them.
Better code coverage analysis

No comments: