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

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 25 14:21:43 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:              
---------------------+------------------------------------------------------
Changes (by karsten):

  * status:  accepted => needs_review
  * component:  pyonionoo => Onionoo


Comment:

 Replying to [comment:23 atagar]:
 > > Or atagar, do you already know which framework you'll want to use for
 the Onionoo rewrite?
 >
 > I don't. My bias for projects I do is to have minimal dependencies. I
 should give twisted a try at some point if only to broaden my horizons,
 though I doubt that I would do it for Pyonionoo.

 Makes sense.

 > This might be moot though - again, I'm not yet sure what project I'll be
 moving on to next. I have precious little time and soon will have even
 less. Pyonionoo might be too ambitious for me along with a fulltime job.

 That also makes sense.  After all, the Java Onionoo is in a pretty good
 shape, it's just sad that the language prevents people from contributing.
 But it should be a fun project to rewrite it in Python, not an endless
 time sink.

 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.

 Making this an Onionoo task, because that seems more relevant now than
 Pyonionoo.

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


More information about the tor-bugs mailing list