forked from loafle/openapi-generator-original
update python tests
This commit is contained in:
@@ -8,7 +8,7 @@ ifndef VIRTUAL_ENV
|
||||
http://docs.python-guide.org/en/latest/dev/virtualenvs/)
|
||||
endif
|
||||
|
||||
setup: $(SETUP_OUT)
|
||||
setup: virtualenv $(SETUP_OUT)
|
||||
|
||||
$(SETUP_OUT): setup.py setup.cfg
|
||||
python setup.py develop
|
||||
@@ -31,7 +31,7 @@ requirements: setup $(REQUIREMENTS_OUT)
|
||||
test: clean requirements
|
||||
nosetests
|
||||
|
||||
test-all: virtualenv clean requirements
|
||||
test-all: clean requirements
|
||||
tox
|
||||
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ TODO
|
||||
|
||||
## Tests
|
||||
|
||||
(Make sure you are running it inside of a [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/))
|
||||
|
||||
You can run the tests in the current python platform:
|
||||
|
||||
```sh
|
||||
@@ -60,8 +62,7 @@ Using 2195432783 as seed
|
||||
[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/):
|
||||
If you want to run the tests in all the python platforms:
|
||||
|
||||
```sh
|
||||
$ make test-all
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
logging-clear-handlers=true
|
||||
verbosity=2
|
||||
randomize=true
|
||||
exe=true
|
||||
with-coverage=true
|
||||
cover-package=SwaggerPetstore
|
||||
cover-erase=true
|
||||
|
||||
Reference in New Issue
Block a user