Bug 9133 - We need a data set for db dependent tests
Summary: We need a data set for db dependent tests
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-22 13:35 UTC by Tomás Cohen Arazi (tcohen)
Modified: 2014-05-26 21:04 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi (tcohen) 2012-11-22 13:35:33 UTC
Introducing special test cases in db-dependent tests might introduce garbage to the provided sample data.

The example of testing all holiday definition use cases should be a good example of garbage in sample data.

Other way of dealing with this might be mocking.
Comment 1 Tomás Cohen Arazi (tcohen) 2013-06-17 14:43:21 UTC
Closing this bug. Mocked tests are provided, and jenkins takes care of "real DB" tests.