← Back to team overview

duplicity-team team mailing list archive

Re: [Question #256613]: How to run only one file of tests

 

Question #256613 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/256613

Aaron Whitehouse posted a new comment:
As I've now detailed in README-REPO (and as of http://bazaar.launchpad.net/~duplicity-team/duplicity/0.7-series/revision/1113 ):
"
You can run specific tests using:
tox -- -s [folder].[folder].[file].[class].[test]
For example:
tox -- -s testing.unit.test_selection
or:
tox -- -s testing.unit.test_selection.MatchingTest.test_tuple_include
"

The advantage in this over the method above is that it will run the
test/tests against all environments (e.g. all relevant python versions).

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.