[Koha-bugs] [Bug 22930] New: Make TestBuilder more strict when called with too wrong arguments

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 16 17:51:03 CEST 2019


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

            Bug ID: 22930
           Summary: Make TestBuilder more strict when called with too
                    wrong arguments
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

It happens to me too often to call TestBuilder->build[_object] without 'value':

$builder->build_object({ class => 'Koha::Patrons', { categorycode =>
$category->categorycode });

Then I am loosing minutes to understand what my tests do not fail (yes, fail).

We could make it display a warning or croak or whatever.

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


More information about the Koha-bugs mailing list