[tor-bugs] #6950 [Onionoo]: write tests for pyonionoo

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 25 20:12:05 UTC 2013


#6950: write tests for pyonionoo
---------------------+------------------------------------------------------
 Reporter:  gsathya  |          Owner:  gsathya     
     Type:  task     |         Status:  needs_review
 Priority:  major    |      Milestone:              
Component:  Onionoo  |        Version:              
 Keywords:           |         Parent:              
   Points:           |   Actualpoints:              
---------------------+------------------------------------------------------

Comment(by cypherpunks):

 Replying to [comment:24 karsten]:
 >
 > Anyway, Onionoo really needs testing.  Given that there's no Pyonionoo
 on the horizon, I decided to
 [https://gitweb.torproject.org/onionoo.git/commitdiff/674a50b write unit
 tests in Java/JUnit].  Want to take a look and give me some feedback?  I'm
 planning to write similar unit tests for the parts of Onionoo that parse
 descriptors and produce details/bandwidth/weights files that Onionoo later
 hands out.

 Why write tests in Java? If you write it in Python, they can be reused in
 Pyonionoo.

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


More information about the tor-bugs mailing list