http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9209
Bug ID: 9209
Summary: Mocked Koha::Calendar tests
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Test Suite
Assignee: [email protected]
Reporter: [email protected]
Using specific method for populating the internal data structures from
Koha::Calendar has yielded to the non-detection of several bugs. There are also
several tests that where db_dependent which is not always desirable.
I propose the use of DBD::Mock (::Session) for using the actual code used by
Koha in production for testing, mocking the DB queries itselves.
I also took the time to repeat several tests in different syspref
configurations (they applied only to daysMode=Calendar, and now cover all
confs).
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/