Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello All When i want to check my BusinnesLogic using mocktesting . its not mocking atall means when i mock the insert its still insert to the DB , Can anyone pleaase send me the exact Mocking code Thanks in advance
Posted
Updated 11-Mar-11 8:21am
v2

1 solution

Have you read this MSDN Tutorial? The concepts apply quite easily across to NUnit as the syntax is only minimally different. The Lessons Learned section in that article may be of benefit to you.
 
Share this answer
 
Comments
Espen Harlinn 17-Mar-11 18:44pm    
Nice tutorial, my 5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900