[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #14944 [Stem]: Allow just a single test to be run



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs