We don't bite newbies here... much | |
PerlMonks |
Re^3: How can I make DBI's prepare() fail? [MySQL]by markong (Pilgrim) |
on Dec 23, 2018 at 13:53 UTC ( [id://1227641]=note: print w/replies, xml ) | Need Help?? |
It does make sense indeed! As Anonymous Monk has suggested, you are trying to mock DBI's objects interface: for each test case you'd like to develop you mock the relative object methods. Look at Test::MockObject for fine grained object mocking.
In Section
Seekers of Perl Wisdom
|
|