I'm not sure there's a whole lot of value to gain from a dep8 test of
this package, it's basically just a collection of perl scripts.

Probably 90% of issues would be caught by just doing a syntax check on
each of the Perl files (i.e. perl -c lib/Logwatch.pm; etc.)

A simple integration test for this might be to just run logwatch over a
collection of sample config files, and verify the generated report
includes stuff it should be flagging, and omits chaff that it shouldn't.
Some recent logwatch SRUs are using this approach for their test cases.


** Changed in: logwatch (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1679329

Title:
  Missing dep8 tests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logwatch/+bug/1679329/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to