In order to see what the module TestBuilder can bring to the writing of tests, the tests in Acquisition/GetOrdersByBiblionumber.t have been refactored with the use of TestBuilder.
Created attachment 29853 [details] [review] Bug 12606: refactoring GetOrdersByBiblionumber.t with TestBuilder The tests have been refactored with the module TestBuilder. Test plan: 1/ Apply the patch 12603 and the last patch of bug 11518. 2/ The command : prove t/db_dependent/Acquisition/GetOrdersByBiblionumber.t has to be a success without error or warning : t/db_dependent/Acquisition/GetOrdersByBiblionumber.t .. ok All tests successful. Files=1, Tests=4, 2 wallclock secs ( 0.03 usr 0.01 sys + 1.90 cusr 0.09 csys = 2.03 CPU) Result: PASS
Created attachment 30090 [details] [review] [SIGNED-OFF] Bug 12606: refactoring GetOrdersByBiblionumber.t with TestBuilder The tests have been refactored with the module TestBuilder. Test plan: 1/ Apply the patch 12603 and the last patch of bug 11518. 2/ The command : prove t/db_dependent/Acquisition/GetOrdersByBiblionumber.t has to be a success without error or warning : t/db_dependent/Acquisition/GetOrdersByBiblionumber.t .. ok All tests successful. Files=1, Tests=4, 2 wallclock secs ( 0.03 usr 0.01 sys + 1.90 cusr 0.09 csys = 2.03 CPU) Result: PASS Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
CONFLICT (content): Merge conflict in t/db_dependent/Acquisition/GetOrdersByBiblionumber.t
This is not needed anymore.