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

Jonathan Druart <jonathan.dru...@bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #46208|0                           |1
        is obsolete|                            |
  Attachment #46209|0                           |1
        is obsolete|                            |
  Attachment #46210|0                           |1
        is obsolete|                            |
  Attachment #46211|0                           |1
        is obsolete|                            |
  Attachment #47724|0                           |1
        is obsolete|                            |
  Attachment #47725|0                           |1
        is obsolete|                            |
  Attachment #47726|0                           |1
        is obsolete|                            |
  Attachment #47727|0                           |1
        is obsolete|                            |

--- Comment #51 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
Created attachment 47798
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47798&action=edit
Bug 14097: Testing C4::UsageStats

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%

Signed-off-by: Bernardo Gonzalez Kriegel <bgkrie...@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.dru...@bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to