[Koha-bugs] [Bug 12603] TestBuilder - Module to simplify the writing of tests
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 15 17:36:27 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12603
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin.renvoize at ptfs-europe
| |.com
--- Comment #7 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I'm starting to get my head around this.. basically it sits between the
database and a new test right.. and it does the adding to database for you such
that you can not bother calling context and manually adding all the data per
test.
I'm wondering if this abstraction could go further and allow a mock option such
that said data gets pushed into a mocked object instead of the db upon request
(or lack of a db to test against).. allowing to write one test for db dependant
and independent..
Just some thoughts?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list