updated readme.md of python

This commit is contained in:
geekerzp 2015-05-16 18:05:06 +08:00
parent 9809ce1d18
commit 68b0259c47
2 changed files with 30 additions and 6 deletions

View File

@ -38,8 +38,7 @@ TODO
## Tests ## Tests
We use some external dependencies, multiple interpreters and code coverage analysis while running test suite. You can run the tests in the current python platform:
Our Makefile handles much of this for you as long as you're running it inside of a [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/):
```sh ```sh
$ make test $ make test
@ -48,8 +47,21 @@ Ran 7 tests in 19.289s
OK OK
``` ```
or
You can test in various python versions using: ```
$ mvn integration-test -rf :PythonPetstoreClientTests
Using 2195432783 as seed
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.594 s
[INFO] Finished at: 2015-05-16T18:00:35+08:00
[INFO] Final Memory: 11M/156M
[INFO] ------------------------------------------------------------------------
```
If you want to run the tests in all the python platforms,
make sure you are running it inside of a [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/):
```sh ```sh
$ make test-all $ make test-all

View File

@ -38,8 +38,7 @@ TODO
## Tests ## Tests
We use some external dependencies, multiple interpreters and code coverage analysis while running test suite. You can run the tests in the current python platform:
Our Makefile handles much of this for you as long as you're running it inside of a [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/):
```sh ```sh
$ make test $ make test
@ -48,8 +47,21 @@ Ran 7 tests in 19.289s
OK OK
``` ```
or
You can test in various python versions using: ```
$ mvn integration-test -rf :PythonPetstoreClientTests
Using 2195432783 as seed
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.594 s
[INFO] Finished at: 2015-05-16T18:00:35+08:00
[INFO] Final Memory: 11M/156M
[INFO] ------------------------------------------------------------------------
```
If you want to run the tests in all the python platforms,
make sure you are running it inside of a [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/):
```sh ```sh
$ make test-all $ make test-all