<br><br><div class="gmail_quote">On Sat, Dec 22, 2012 at 7:42 PM, Damian Johnson <span dir="ltr"><<a href="mailto:atagar@torproject.org" target="_blank">atagar@torproject.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br></div><div class="im">On Sat, Dec 22, 2012 at 6:16 PM, Simon <span dir="ltr"><<a href="mailto:simonhf@gmail.com" target="_blank">simonhf@gmail.com</a>></span> wrote:<br>
> So what's the difference between Stem tests and 'Chutney'?<br>
<br>
</div>Stem is a controller library with integration tests to check its<br>
interaction with a live tor instance. Its tests focus on the behavior<br>
of tor's control interface.<br>
<br>
Chutney however is a framework specifically for testing how multiple<br>
tor instances interact. It's under very light development by<br>
comparison to stem...<br>
<br>
<a href="https://gitweb.torproject.org/nickm/chutney.git/shortlog" target="_blank">https://gitweb.torproject.org/nickm/chutney.git/shortlog</a><br>
<a href="https://gitweb.torproject.org/stem.git/shortlog" target="_blank">https://gitweb.torproject.org/stem.git/shortlog</a><br>
<div class="im"><br>
> Why are neither set of tests included in the Tor repo so that<br>
> they can be run using make test?<br>
<br>
</div>Because they're both separate applications from the core tor<br>
executable. Mixing the projects (and their git histories) would be<br>
confusing. I would like to see stem be more actively used in core tor<br>
development for testing though. In an ideal world new tor controller<br>
features would include a corresponding test in stem...<br></blockquote><div><br>Simon,<br><br>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.<br>
<br>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.<br></div></div><br>-- <br>Sean Robinson<br><br>