[tor-bugs] #14944 [Stem]: Allow just a single test to be run
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Feb 18 16:48:14 UTC 2015
#14944: Allow just a single test to be run
---------------------------+------------------------
Reporter: atagar | Owner: atagar
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Stem | Version:
Keywords: testing, easy | Actual Points:
Parent ID: | Points:
---------------------------+------------------------
Our run_tests.py presently has a '--test' argument that lets you only run
just a single test module, or all test modules with a given prefix.
This is nice, but often we want to only run a single *test*. For example,
just test/integ/control/controller.py's test_reattaching_listeners()
method.
Presently you could test only this module with...
{{{
% ./run_tests.py --integ --test control.controller
}}}
But better would be to let you drill down even more like...
{{{
% ./run_tests.py --integ --test
control.controller.test_reattaching_listeners
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14944>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list