From 565b948da74cc5ca4cce791cc0a45493b80275de Mon Sep 17 00:00:00 2001 From: mnmelo Date: Sun, 18 Oct 2015 15:00:58 +0200 Subject: [PATCH] Updated UnitTests (markdown) --- UnitTests.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UnitTests.md b/UnitTests.md index 49164d8fde8..391006305e7 100644 --- a/UnitTests.md +++ b/UnitTests.md @@ -55,7 +55,10 @@ You can run all tests in serial from the python interpreter like this: from MDAnalysis.tests import test test(argv=["--exe", "-v"])' ``` -The elements of the list passed to argv are the same as the possible flags to mda_nosetests. +The elements of the list passed to argv are the same as the possible flags to mda_nosetests. Specific file/class/test testing can be done by supplementing the appropriate test descriptor, for instance: +```python +test(argv=["--exe", "-v", "test_analysis.py:TestContactMatrix.test_sparse"])' +``` nose's `nosetests` script can also be used (just make sure you are running the right version) ```