patrys / httmock

A mocking library for requests
Other
468 stars 57 forks source link

Add tox.ini to make local testing easy #64

Closed hugovk closed 1 year ago

hugovk commented 2 years ago

To use:

python -m pip install tox
tox               # to test all versions
tox -s            # --skip-missing-interpreters, if you don't have a version installed
tox -e py310      # to test a single version
tox -e py27,py310 # to test more than one
tox -p auto       # run in parallel

For example:

image

hugovk commented 1 year ago

Closing this year-old PR, but happy to re-open if there's interest 👍