[tor-bugs] #12881 [Onionoo]: Mocking framework for testing

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 18 15:45:57 UTC 2014


#12881: Mocking framework for testing
-------------------------+---------------------
 Reporter:  iwakeh       |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:
Component:  Onionoo      |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+---------------------
 Especially in order to avoid test related code in the production
 environment.
 (see #12869 about util.Time).

 I currently cannot point to an exploit or similar, but having something
 (non-static) standing in between java.lang.System.millisec and the
 application
 does not feel right.

 So, a Mocking Framework might be a way to solve this. The framework should
 be compatible with the
 [https://trac.torproject.org/projects/tor/wiki/org/operations/Guidelines
 Guidelines].

 (I could look into it. So, I have a reason to study the Guidelines
 thoroughly.)

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


More information about the tor-bugs mailing list