yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13479
[Bug 1306016] [NEW] tox does not pass args to run_tests.sh
Public bug reported:
When testing with tox we currently cannot test a specific file like
described here http://nose.readthedocs.org/en/latest/usage.html
#selecting-tests.
So, if we want to test a specific portion of code with tox it will run
all the tests. Adding {posargs} to every target which run nose will
allow us to pass arguments to nose and use all of its features just by
using -- at the end of tox call.
Ex: tox -epy27dj14 --
openstack_dashboard.dashboards.admin.aggregates.tests
** Affects: horizon
Importance: Undecided
Status: New
** Description changed:
When testing with tox we currently cannot test a specific file like
described here http://nose.readthedocs.org/en/latest/usage.html
#selecting-tests.
So, if we want to test a specific portion of code with tox it will run
all the tests. Adding {posargs} to every target which run nose will
- allow us to pass arguments to nose and use all of its features.
+ allow us to pass arguments to nose and use all of its features just by
+ using -- at the end of tox call.
+
+ Ex: tox -epy27dj14 --
+ openstack_dashboard.dashboards.admin.aggregates.tests
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1306016
Title:
tox does not pass args to run_tests.sh
Status in OpenStack Dashboard (Horizon):
New
Bug description:
When testing with tox we currently cannot test a specific file like
described here http://nose.readthedocs.org/en/latest/usage.html
#selecting-tests.
So, if we want to test a specific portion of code with tox it will run
all the tests. Adding {posargs} to every target which run nose will
allow us to pass arguments to nose and use all of its features just by
using -- at the end of tox call.
Ex: tox -epy27dj14 --
openstack_dashboard.dashboards.admin.aggregates.tests
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1306016/+subscriptions
Follow ups
References