[tor-dev] Testing in Tor

Sean Robinson seankrobinson at gmail.com
Sun Dec 23 20:41:08 UTC 2012

On Sat, Dec 22, 2012 at 7:42 PM, Damian Johnson <atagar at torproject.org>wrote:

> On Sat, Dec 22, 2012 at 6:16 PM, Simon <simonhf at gmail.com> wrote:
> > So what's the difference between Stem tests and 'Chutney'?
> Stem is a controller library with integration tests to check its
> interaction with a live tor instance. Its tests focus on the behavior
> of tor's control interface.
> Chutney however is a framework specifically for testing how multiple
> tor instances interact. It's under very light development by
> comparison to stem...
> https://gitweb.torproject.org/nickm/chutney.git/shortlog
> https://gitweb.torproject.org/stem.git/shortlog
> > Why are neither set of tests included in the Tor repo so that
> > they can be run using make test?
> Because they're both separate applications from the core tor
> executable. Mixing the projects (and their git histories) would be
> confusing. I would like to see stem be more actively used in core tor
> development for testing though. In an ideal world new tor controller
> features would include a corresponding test in stem...


I don't know about Chutney, but Stem is a separate effort from Tor.  Stem
is related to Tor, is hosted by the project, and there is much
communication between the two, but running the Stem tests to learn about
Tor code would not be helpful.

As Damian says, Stem could be used to build tests exercising the controller
side of Tor code.  However, those would be Tor tests, not Stem tests.

Sean Robinson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20121223/2fadb3c8/attachment.html>

More information about the tor-dev mailing list