[Koha-bugs] [Bug 14097] New: Add unit tests to C4::UsageStats

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 30 11:19:46 CEST 2015


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

            Bug ID: 14097
           Summary: Add unit tests to C4::UsageStats
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: trivial
          Priority: P5 - low
         Component: Test Suite
          Assignee: julian.fiol at biblibre.com
          Reporter: julian.fiol at biblibre.com
        QA Contact: gmcharlt at gmail.com

DESCRIPTION
    -----------

    Add unit tests to C4::UsageStats
    Subroutine :
    (V : tested, X : Not tested)

        V  NeedUpdate
        V  BuiltReport
        X  ReportToCommunity
        V  _count

    TEST PLAN
    ---------

    1. Apply patch
    2. prove -v t/db_dependent/UsageStats.t
    -- All tests should run successfully

/!\ I have 1 warning but I don't know where it can come /!\
    (in cleanup) DBIx::Class::Storage::txn_rollback(): A txn_rollback
    in nested transaction is ineffective! (depth 1) at
    t/lib/TestBuilder.pm line 308

    TEST PLAN OPTIONAL
    ------------------

    Go check bug 13899 to see the coverage of this module.

    Coverage BEFORE this patch :
    Statement  :  40,5%
    Branch     :   0,0%
    Condition  :   0,0%
    Subroutine :  55,6%

    Coverage AFTER this patch :
    Statement  :  81,0%
    Branch     : 100,0%
    Condition  : 100,0%
    Subroutine :  88,8%

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


More information about the Koha-bugs mailing list