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

--- Comment #18 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 208444
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208444&action=edit
Bug 43391: Adjust xt test to catch missing POD for private methods

This patch makes xt/author/pod_coverage.t check private methods too, by
passing 'private => []' to Pod::Coverage. Without it, subs starting
with an underscore are skipped, so the QA script and the xt test
disagree and new private subs can land without POD.

Test plan:
1. Apply only this patch
2. Run:
   $ ktd --shell
  k$ prove xt/author/pod_coverage.t
=> FAIL: Private methods without POD are reported
3. Apply the remaining patches
4. Repeat step 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to