[Koha-bugs] [Bug 12445] C4::Suggestions.pm needs more unit tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 24 20:58:06 CEST 2014


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

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29955|0                           |1
        is obsolete|                            |

--- Comment #13 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 30046
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30046&action=edit
[SIGNED-OFF] Bug 12445: ading unit tests to test the routines :
CountSuggestion, ConnectSuggestionAndBiblio, SearchSuggestion,
GetSuggestionInfo, DelSuggestion, GetSuggestionByStatus

These routines were not tested

Test plan:
1/ Execute the command : prove t/db_dependent/Suggestions.t
2/ The result has to be a success without error or warning :
t/db_dependent/Suggestions.t .. ok
All tests successful.
Files=1, Tests=89,  1 wallclock secs ( 0.05 usr  0.01 sys +  1.52 cusr  0.08
csys =  1.66 CPU)
Result: PASS

Signed-off-by: Paola Rossi <paola.rossi at cineca.it>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Test pass, no koha-qa errors

But now there are 91!
prove t/db_dependent/Suggestions.t
t/db_dependent/Suggestions.t .. ok
All tests successful.
Files=1, Tests=91,  2 wallclock secs ( 0.05 usr  0.00 sys +  1.77 cusr  0.10
csys =  1.92 CPU)
Result: PASS

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


More information about the Koha-bugs mailing list