[Koha-bugs] [Bug 14103] PDF::FromHTML headaches related to optional discharging.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu May 7 14:04:33 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14103
Chris Nighswonger <cnighswonger at foundations.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #38899|0 |1
is obsolete| |
--- Comment #23 from Chris Nighswonger <cnighswonger at foundations.edu> ---
Created attachment 38943
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38943&action=edit
[SIGNED OFF] Bug 14103: Improved testing coverage
As per Chris' comment #17, this improves the testing coverage.
Same test plan as comment #16, but add:
TEST PLAN SUPPLEMENT
--------------------
1) $ prove -v t/db_dependent/Borrower_Discharge.t
-- notice only 5 tests, and generate_as_pdf not tested.
2) Apply this patch.
3) Retest as per comment #16
-- this will test the error and no error cases
tweaked in Koha/Borrower/Discharge.pm
4) remove PDF::HTML
$ sudo apt-get purge libpdf-fromhtml-perl
5) $ prove -v t/db_dependent/Borrower_Discharge.t
-- 7 tests, all successful
6) add PDF::HTML
$ sudo dpkg -i /path/to/libpdf-fromhtml-perl...
-- depends on how you get it. vary accordingly.
7) $ prove -v t/db_dependent/Borrower_Discharge.t
-- 7 tests, all successful
-- Note that is was a different 7th test. :)
8) koha qa test tools
Signed-off-by: Chris Nighswonger <cnighswonger at foundations.edu>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list