diff options
author | Kali Kaneko <kali@leap.se> | 2014-08-26 17:42:39 -0500 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-09-03 19:09:31 -0500 |
commit | e0b43dd5cee1db5ba6e41c044a2fb9c6dc770ba6 (patch) | |
tree | 4e8a755c8ec1fdbd8e02359c1342a49a0365a7a6 /mail/README.rst | |
parent | 50e5af5bf469f0af7eb202cfc077ac088d2478ad (diff) |
fix and migrate tests to trial
We cannot use setUpClass when running tests with trial.
But, after all, it's not *so* expensive to initialize a new soledad
instance (since we'll be mostly using the memstore for the tests).
Diffstat (limited to 'mail/README.rst')
-rw-r--r-- | mail/README.rst | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/mail/README.rst b/mail/README.rst index 88e413b8..f758a66d 100644 --- a/mail/README.rst +++ b/mail/README.rst @@ -11,7 +11,17 @@ More info: https://leap.se running tests ------------- -You'll need to have installed nose_progressive +Use trial to run the test suite. -* nosetests --with-progressive leap.mail.imap.tests.test_imap -* trial leap.mail.smtp +``` +trial leap.mail +``` + +... and all its goodies. To run all imap tests in a loop until some of them +fails: + +``` +trial -u leap.mail.imap +``` + +Read the *trial* manpage for more options . |