Professional Documents
Culture Documents
Levels of testing
Unit do our objects do the right thing? Integration does our code work against code we cant change? End-to-end does the whole system work?
*deprecated in VS 2012
Using Stubs
Create Fakes assembly Dependency Injection
Using Shims
Code that cant be stubbed: statics, Framework classes
Coding guidelines
The test method name should describe a capability. #The client can use localhost as a license server => Client_SetLicenseServerToLocalhost_Success #The sessions controller throws ArgumentException when starting a session with an empty name=> SessionsController_StartEmptyName_ArgumentException Arrange, Act, Assert! Explanatory Assert messages