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

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



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

Comment(by karsten):

 Replying to [comment:21 gsathya]:
 > Replying to [comment:20 atagar]:
 > > > If so, do you have any preferences for choosing a testing framework
 for Onionoo/pyonionoo?
 > > I would probably use python's builtin unittest framework, like stem
 does.
 > You might want to look at Twisted's testing framework -
 https://twistedmatrix.com/trac/wiki/TwistedTrial. Also, please let me know
 if I can help with any part of pyonionoo codebase.

 It seems the decision for either testing framework depends on which
 language pyonionoo will be written in, correct?  Or rather, it would seem
 strange to have a Twisted dependency only for the tests, and using
 Python's built-in testing framework doesn't make as much sense if the
 application itself is written in Twisted.  I'm fine postponing this
 decision, in which case I'll hold off writing tests for Onionoo.

 Or atagar, do you already know which framework you'll want to use for the
 Onionoo rewrite?

 gsathya, thanks for the offer!  I wouldn't mind some assistance with
 writing the first few test cases once we know which testing framework to
 use.

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