Mock / Unit Testing

Mock / Unit Testing

Old forum URL: forums.lhotka.net/forums/t/5827.aspx


Slayer posted on Wednesday, November 19, 2008

Hi,

Im quite new to csla, and im new to the whole unit testing / mocking thing...i have worked through a lot of csla sample code, but im still not sure on how to mock inline sql connections/commands. Can anyone shed some light on the issue. Sample code? links or document that could help me out, plus a easy to use tool perhaps...

Thanks in advance

vdhant replied on Wednesday, November 19, 2008

Might be worth having a look at these...
http://blog.magenic.com/blogs/nermind/archive/2007/04/30/TDD_2F00_Using-Mock-objects-with-CSLA.Net.aspx
http://blog.magenic.com/blogs/nermind/archive/2007/05/09/TDD_2F00_Using-Mock-objects-with-CSLA.Net-_2800_Round-II_2900_.aspx
http://forums.lhotka.net/forums/thread/24759.aspx

Also the DeepData example is very good.

Cheers
Anthony

Copyright (c) Marimer LLC