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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs