Results 1 to 1 of 1
May 25, 2005, 03:34 #1
- Join Date
- Jul 2004
- Lausanne, Switzerland
- 0 Post(s)
- 0 Thread(s)
[SimpleTest] Web testing and Mock Objects
I just "discovered" the web testing part of SimpleTest, and I still am a bit confused about it. I guess I don't have a clear picture about testing yet anyways...
I want to be sure that if I'm testing with the supplied web tester, there is no way of mocking the webapp's underlying database connection, right?
I can mock it with normal unit tests, then when I see it's working, I have to use the real db connection to test iit via web.
I'm just making sure that I've understood that correctly, or if I've missed a huge part of the picture...
Thanks a lot!