1
- ![ PyPI] ( https://img.shields.io/pypi/v/tox?style=flat-square )
1
+ [ ![ PyPI] ( https://img.shields.io/pypi/v/tox?style=flat-square )] ( https://pypi.org/project/tox/ )
2
2
[ ![ Supported Python
3
3
versions] ( https://img.shields.io/pypi/pyversions/tox.svg )] ( https://pypi.org/project/tox/ )
4
4
[ ![ Azure Pipelines build
@@ -33,7 +33,7 @@ the configuration.
33
33
34
34
To test a simple project that has some tests, here is an example with a ` tox.ini ` in the root of the project:
35
35
36
- ``` {.sourceCode . ini}
36
+ ``` ini
37
37
[tox]
38
38
envlist = py37,py38
39
39
@@ -42,7 +42,7 @@ deps = pytest
42
42
commands = pytest
43
43
```
44
44
45
- ``` {.sourceCode . console}
45
+ ``` console
46
46
$ tox
47
47
48
48
[lots of output from what tox does]
@@ -54,7 +54,7 @@ __________________ summary _________________
54
54
congratulations :)
55
55
```
56
56
57
- tox created two ` testenvs ` - one based on Python3 .7 and one based on Python3 .8, it installed pytest in them and ran the
57
+ tox created two ` testenvs ` - one based on Python 3 .7 and one based on Python 3 .8, it installed pytest in them and ran the
58
58
tests. The report at the end summarizes which ` testenvs ` have failed and which have succeeded.
59
59
60
60
** Note:** To learn more about what you can do with tox, have a look at
@@ -63,7 +63,7 @@ tests. The report at the end summarizes which `testenvs` have failed and which h
63
63
64
64
### How it works
65
65
66
- tox creates virtual environments for all configured so called ` testenvs ` , it then installs the project and other
66
+ tox creates virtual environments for all configured so- called ` testenvs ` , it then installs the project and other
67
67
necessary dependencies and runs the configured set of commands. See
68
68
[ system overview] ( https://tox.readthedocs.io/en/latest/#system-overview ) for more details.
69
69
@@ -79,7 +79,7 @@ necessary dependencies and runs the configured set of commands. See
79
79
- creating development environments
80
80
- running static code analysis and test tools
81
81
- automating package builds
82
- - running tests against the package build by tox
82
+ - running tests against the package built by tox
83
83
- checking that packages install correctly with different Python versions/interpreters
84
84
- unifying Continuous Integration and command line based testing
85
85
- building and deploying project documentation
0 commit comments