From e0b43dd5cee1db5ba6e41c044a2fb9c6dc770ba6 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 26 Aug 2014 17:42:39 -0500 Subject: 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). --- mail/README.rst | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'mail/README.rst') 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 . -- cgit v1.2.3