Merge lp:~aaron-whitehouse/duplicity/08-README-TESTING into lp:~duplicity-team/duplicity/0.8-series

Proposed by Aaron Whitehouse
Status: Merged
Merged at revision: 1449
Proposed branch: lp:~aaron-whitehouse/duplicity/08-README-TESTING
Merge into: lp:~duplicity-team/duplicity/0.8-series
Diff against target: 32 lines (+7/-4)
1 file modified
README-TESTING (+7/-4)
To merge this branch: bzr merge lp:~aaron-whitehouse/duplicity/08-README-TESTING
Reviewer Review Type Date Requested Status
duplicity-team Pending
Review via email: mp+364214@code.launchpad.net

Commit message

Change README-TESTING to be correct for running individual tests now that we have moved to Pytest.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README-TESTING'
2--- README-TESTING 2017-05-14 07:17:59 +0000
3+++ README-TESTING 2019-03-10 13:48:02 +0000
4@@ -1,7 +1,7 @@
5 # Testing duplicty
6
7 ## Introduction
8-Duplicitys test concept bases on unit test.
9+Duplicity's test concept bases on unit test.
10 All tests are contained in the /testing folder of the main repository.
11
12 As to see in the following sketch, there are several levels of testing duplicity and each can be used directly.
13@@ -46,14 +46,17 @@
14 from the main duplicity folder.
15
16 You can run specific tests using:
17-‘tox -- -s [folder].[folder].[file].[class].[test]‘
18+‘tox -- [test filename][::TestClassName::test_method]‘
19 For example:
20-‘tox -- -s testing.unit.test_selection‘
21+‘tox -- testing/unit/test_selection.py‘
22 or:
23-‘tox -- -s testing.unit.test_selection.MatchingTest.test_tuple_include‘
24+‘tox -- testing/unit/test_selection.py::MatchingTest::test_tuple_include‘
25
26 You can test against a single environment, e.g.
27 ‘tox -e py27‘
28+
29+Or stack these together, e.g.
30+‘tox -e py3 -- testing/unit/test_selection.py::MatchingTest::test_tuple_include‘
31 for example if you are working on fixing a bug, but please do a full run-tests
32 before submitting a merge request.
33

Subscribers

People subscribed via source and target branches