[tor-bugs] #9872 [BridgeDB]: Create a test runner for BridgeDB unittests

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Oct 2 08:47:52 UTC 2013


#9872: Create a test runner for BridgeDB unittests
--------------------------------+----------------------
 Reporter:  isis                |          Owner:  isis
     Type:  enhancement         |         Status:  new
 Priority:  normal              |      Milestone:
Component:  BridgeDB            |        Version:
 Keywords:  bridgedb-unittests  |  Actual Points:
Parent ID:  #9865               |         Points:
--------------------------------+----------------------
 We need a test runner which can pass on commands (i.e. doing "python
 setup.py test" would actually run "trial coverage [args] [tests/test
 directory]" and pass the arguments and test cases to coverage if need be.
 See tahoe-lafs's code for an example) and environment variables (i.e.
 PYTHONPATH).

 Ideally, this thing will handle coverage (but that shouldn't be
 prioritised, as it isn't necessary), and it should handle whatever
 different unittest frameworks are used so that all pertinent tests can be
 run with one command.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9872>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list