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

[tor-bugs] #11335 [Stem]: Tests for example scripts



#11335: Tests for example scripts
--------------------------+------------------------
 Reporter:  atagar        |          Owner:  atagar
     Type:  enhancement   |         Status:  new
 Priority:  normal        |      Milestone:
Component:  Stem          |        Version:
 Keywords:  testing easy  |  Actual Points:
Parent ID:                |         Points:
--------------------------+------------------------
 We recently added a
 [https://stem.torproject.org/tutorials/double_double_toil_and_trouble.html#scripts
 scripts section] to our examples. We should have unit tests for these. See
 our
 [https://gitweb.torproject.org/stem.git/blob/HEAD:/test/unit/tutorial.py
 tutorial unit tests] for an example of how we could do this.

 I really dislike the idea of duplicating these scripts in our tests so
 bonus points if you can figure out a way of having our tests read the
 docs! This might actually be a decent use of eval...

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