As fetchmail is a service, it should have (at least) three types of
tests:

1.  Check that primary bits are installed, and that fetchmail --version
/ --help aren't erroring.

2.  Check that the service is up

3.  Check operation by setting up a local POP3 mail service, sending an
email to it, and verifying fetchmail fetches the email.  Dovecot
includes some dep8 tests that could be repurposed for setting up the
mail service here.

Extra credit would repeat #3 but with IMAP and/or SSL.

I don't think fetchmailconf is worth testing; it appears to be an X11
utility without command line operational functionality.

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

Title:
  Missing dep8 tests

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

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

Reply via email to