[Koha-bugs] [Bug 25113] New: Make CirculationRules.t flexible for new scope combinations
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Apr 11 21:54:47 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25113
Bug ID: 25113
Summary: Make CirculationRules.t flexible for new scope
combinations
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Test Suite
Assignee: chris at bigballofwax.co.nz
Reporter: lari.taskula at hypernova.fi
QA Contact: testopia at bugs.koha-community.org
We used to test rule scopes by explicitly defining each combination.
When adding new scopes, it is much easier if these tests are auto-
generated for you so that you don't have to repeat similar code.
Remove those "duplicates" and adds a method that returns
test cases for each scope as follows:
branchcode categorycode itemtype
__________ ____________ ________
branchcode categorycode itemtype
branchcode categorycode *
branchcode * itemtype
branchcode * *
* categorycode itemtype
* categorycode *
* * itemtype
* * *
And automatically extends the test when new scopes are added.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list