Missing dep8 tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fetchmail (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
As of March 29, 2017, this source package did not contain dep8 tests in
the current development release of Ubuntu, named Zesty. This was
determined by running `pull-lp-source fetchmail zesty` and then
checking for the existence of 'debian/tests/' and
'debian/
Test automation is essential to higher levels of quality and confidence
in updates to packages. dep8 tests [1] specify how automatic testing can
be integrated into packages and then run by package maintainers before
new uploads.
This defect is to report the absence of these tests and to report the
opportunity as a potential item for development by both new and
experienced contributors.
[1] http://
affects ubuntu/fetchmail
status new
importance wishlist
tag needs-dep8
- ---
Joshua Powers
Ubuntu Server
Canonical Ltd
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJ
dypbWoMZMTd3tp1
1/1Ykuf94prG6gU
6o2gmtSO4GE3yPy
V3LWi3pXsnpFckg
UvspfOXB7ALWQsR
9OYpOXDSt2JeYrM
IsZYlqVpJJOIbo6
Sn6cduNxo+
HuGIUZWKDQL2Nsr
sav6wTGiZyHXBZr
h2KFyNpGiTEhfhc
=69sQ
-----END PGP SIGNATURE-----
Related branches
- Utkarsh Gupta (community): Approve
- Lucas Kanashiro (community): Approve
- git-ubuntu developers: Pending requested
-
Diff: 309 lines (+277/-0)4 files modifieddebian/changelog (+9/-0)
debian/tests/control (+7/-0)
debian/tests/mock-pop3-server.py (+214/-0)
debian/tests/operation (+47/-0)
- Christian Ehrhardt (community): Approve
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 153 lines (+101/-1)5 files modifieddebian/changelog (+55/-0)
debian/control (+2/-1)
debian/tests/control (+8/-0)
debian/tests/installation (+23/-0)
debian/tests/service (+13/-0)
- Christian Ehrhardt (community): Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 290 lines (+219/-1)9 files modifieddebian/changelog (+29/-0)
debian/control (+2/-1)
debian/patches/clang-robustness.patch (+59/-0)
debian/patches/series (+4/-0)
debian/patches/set-umask-for-fetchids.patch (+49/-0)
debian/patches/sni-support.patch (+32/-0)
debian/tests/control (+8/-0)
debian/tests/installation (+23/-0)
debian/tests/service (+13/-0)
Changed in fetchmail (Ubuntu): | |
status: | In Progress → Fix Committed |
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.