diff options
author | ashishk1994 <ashishk.iiit@gmail.com> | 2017-04-22 22:10:31 +0530 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-05-20 12:16:12 +0200 |
commit | ea5efce7b1a3aadcb78b72284740583d40689d6f (patch) | |
tree | 545279a527d90ec3c45ff1d36162111a74cf13b7 /tox.ini | |
parent | 79dbdf18f187b79d8f5b7c6929b16f75b09bebc1 (diff) |
Tox utility to run unit tests
Now run_unit_tests.sh only calls tox to allow merging.
It can be safely deleted as soon as the related jjob is updated.
It also removes test_logging.ini.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I934f4ac739d99d0cb29bea8c6aac6d6780b30901
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..d7da122a --- /dev/null +++ b/tox.ini @@ -0,0 +1,14 @@ +[tox] +envlist = py27 + +[testenv] +deps = + -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt +commands = nosetests --with-xunit \ + --with-coverage \ + --cover-tests \ + --cover-package=functest \ + --cover-xml \ + --cover-html \ + functest/tests/unit |