I know that there has been a couple questions about tutorials on rhino-mocks. But I am wondering if there are any sample apps out there that use rhino-mocks in the context of an n-tier business application using ado.net.
I find the tutes good, but they don't seem to bring everything all together into the big picture. Thus, I am looking for a sample app that brings the full picture together.
Also, I think there is a little bit of a lack of examples which specifically deal with mocking and testing the logic in the data access layer.
Cheers Anthony
I have a demo app from a talk I gave on testing. It does some mocking with Rhino Mocks. You can download it if you would like:
http://www.houseofbilz.com/archive/2008/10/18/gui-testing-resources.aspx
Rhino Mocks Documentation
TDD : Introduction to Rhino Mocks
Using Google you will fine more.
You should try to understand mocking, and that it's purpose is to make testing possible by Mocking some lower layer. It provides means of splitting big picture in lots of independent smaller pictures. That way you are able to test business layer without hitting database.
Stackoverflow: What is a mock and when should you use it?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With