summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2015-09-29 15:04:12 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2015-10-09 12:23:37 -0700
commit24eb458653bead9e8c1e43c0e9a5eedf06cb2b95 (patch)
treef98b6e59bf725be441be0982bafdd67edfd616eb /tox.ini
parent53638cf2564cc649411cf974a3562e8706e6dae7 (diff)
tox: Add a test module for testing the generators.
This test module provides a function that enumerates the test generators (it assumes that all files ending in .py are generators unless they're black listed), and generates a nose job for each of them. This allows us to ensure that the generators work in an automated fashion, and with a simple patch will allow us to test them with various versions of python (2.7 and 3.3+), which we claim to support with the generators. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index c29014c87..b104115c6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,4 +13,6 @@ deps =
accel: lxml
accel: backports.lzma
passenv=HOME
-commands = nosetests framework/tests --attr="!privliged" --with-cover --cover-package=framework --cover-tests
+commands =
+ nosetests generated_tests/test_generators.py
+ nosetests framework/tests --attr="!privliged" --with-cover --cover-package=framework --cover-tests