PSP, XP, TDD and other methodologies for solitary programmers
Ng Pheng Siong
ngps at netmemetic.com
Thu Jan 2 19:46:02 EST 2003
According to Skip Montanaro <skip at pobox.com>:
> Brad> ... as I said in my previous post, I'm looking for test patterns
> Brad> suiteable for database backed "objects".
>
> The largest problem I see to testing SQL database store/retrieve is that to
> be confident in your test results you would have to actually execute SQL,
Do you not trust your SQL engine to DTRT?
If you want to test that your _application_ is working fine wrt database
access, use mock objects to simulate the db engine.
--
Ng Pheng Siong <ngps at netmemetic.com> * http://www.netmemetic.com
More information about the Python-list
mailing list