Functional Tests for servicehandler
[transportpce.git] / tests / tox.ini
index 702fe936092559d66931637e6008f31ea28ba470..9b324a1d8c7ac1ad4687041f9ac88d22dc289afe 100644 (file)
@@ -3,11 +3,16 @@ envlist = py27
 
 [testenv]
 usedevelop = True
+basepython = python2.7
 deps =
   -r{toxinidir}/requirements.txt
   -r{toxinidir}/test-requirements.txt
 whitelist_externals = bash
 commands =
-  bash -c "(cd .. && mvn clean install -DskipTests -Dmaven.javadoc.skip=true)"
-  ./build.sh
-  nosetests --with-xunit transportpce_tests
+  {p27,portmapping,pce}: bash -c "(cd .. && mvn clean install -DskipTests -Dmaven.javadoc.skip=true)"
+  {py27,portmapping}: ./build.sh
+  {p27,servicehandler}: ./SH_func_tests.sh
+  py27: nosetests --with-xunit transportpce_tests/
+  portmapping: nosetests --with-xunit transportpce_tests/test_portmapping.py
+  servicehandler: nosetests --with-xunit transportpce_tests/test_servicehandler.py
+  pce: nosetests --with-xunit transportpce_tests/test_pce.py