[Koha-bugs] [Bug 8300] Koha should have mechanized testing suite

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 17 11:01:18 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8300

--- Comment #16 from Magnus Enger <magnus at enger.priv.no> ---
(In reply to comment #13)
> t/db_dependent/www/batch.t .. 14/20
> #   Failed test 'found book'
> #   at t/db_dependent/www/batch.t line 165.
> #     searched: "\x{0a}\x{0a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
> Tra"...
> #   can't find: "Data structures"
> #         LCSS: "Data str"
> # LCSS context: "" rel="gb_page_center[600,500]">Englewood Data str"
> t/db_dependent/www/batch.t .. 19/20 # Looks like you failed 1 test of 20.
> t/db_dependent/www/batch.t .. Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/20 subtests

What MARC-flavour did you test with, Marcel? I just ran the tests on current
master without any problems:

$ prove -v t/db_dependent/www/batch.t
t/db_dependent/www/batch.t .. 
1..20
ok 1 - connect to intranet
ok 2 - login to staff client
ok 3 - load main page
ok 4 - open tools module
ok 5 - go to stage MARC
ok 6 - uploaded file
ok 7 - upload succeeded
ok 8 - reopen stage MARC page
ok 9 - stage MARC
ok 10 - have job ID
ok 11 - job was completed
ok 12 - reopen stage MARC page at end of upload
ok 13 - stage MARC
ok 14 - view batch
ok 15 - found book
ok 16 - imported records into catalog
ok 17 - successfully imported record
ok 18 - revert import
ok 19 - getting reverted bib
ok 20 - bib is gone
ok
All tests successful.
Files=1, Tests=20, 25 wallclock secs ( 0.04 usr  0.00 sys +  0.56 cusr  0.04
csys =  0.64 CPU)
Result: PASS

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list