diff --git a/README_development.rst b/README_development.rst index 995cfd8..84966e0 100644 --- a/README_development.rst +++ b/README_development.rst @@ -29,6 +29,10 @@ Setup test requirements # run tests for all supported envs tox + # execute stuff on specific env (examples) + tox -e py3-driver-mock -- python + tox -e py3-driver-mock -- python test/testsuite.py test_mock.MockTest.test_sql_exception_on_commit + # activate and work on specific env . .tox/py35-driver-mock/bin/activate export CLASSPATH=$VIRTUAL_ENV/javalib/* diff --git a/tox.ini b/tox.ini index 5e2bec4..3496e17 100644 --- a/tox.ini +++ b/tox.ini @@ -33,4 +33,4 @@ commands = driver-mock: mvn -Dmaven.repo.local={toxworkdir}/shared/.m2/repository -f mockdriver/pom.xml install driver-mock: jip install org.jaydebeapi:mockdriver:1.0-SNAPSHOT driver-hsqldb: python test/doctests.py - coverage run -a --source jaydebeapi test/testsuite.py {env:TESTNAME} + {posargs:coverage run -a --source jaydebeapi test/testsuite.py {env:TESTNAME}}