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

[tor-bugs] #9873 [BridgeDB]: Convert BridgeDB's old unittests to use twisted.trial



#9873: Convert BridgeDB's old unittests to use twisted.trial
--------------------------------+----------------------
 Reporter:  isis                |          Owner:  isis
     Type:  enhancement         |         Status:  new
 Priority:  normal              |      Milestone:
Component:  BridgeDB            |        Version:
 Keywords:  bridgedb-unittests  |  Actual Points:
Parent ID:  #9865               |         Points:
--------------------------------+----------------------
 `twisted.trial` has a conversion utility class for translating test
 results from stdlib `unittest` into something which `trial`'s reporter can
 use. I've never used it, but either some sort of conversion should be done
 of the old tests, or they should be rewritten.

 Additionally, all the tests are in one file, lib/bridgedb/Tests.py, which
 imports al of the modules in the `bridgedb` package, and also makes it a
 bit hard to follow which test is testing what.

 We should also probably re-evaluate whether the `class
 Test(setuptools.Command)` in `setup.py` is still necessary.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9873>
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