<br><br><div class="gmail_quote">On Sun, Oct 10, 2010 at 11:03 AM, Natalia Bidart <span dir="ltr"><<a href="mailto:nataliabidart@gmail.com">nataliabidart@gmail.com</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">On Sat, Oct 9, 2010 at 9:25 PM, Ned Batchelder <<a href="mailto:ned@nedbatchelder.com">ned@nedbatchelder.com</a>> wrote:<br>
> Hi Natalia,<br>
><br>
> I understand wanting to keep things simple for the newbs, but it looks like<br>
> there's a plugin for nose that does what you want:<br>
> <a href="http://pypi.python.org/pypi/rudolf/" target="_blank">http://pypi.python.org/pypi/rudolf/</a><br>
><br>
> I think introducing nose is a good idea even for beginners, because it<br>
> simplifies writing tests. Without nose, you have to build suites, with<br>
> nose, you can skip all that code.<br>
<br>
</div>Hi Ned,<br>
<br>
Thanks for your answer. I was planning avoiding all the suite writing<br>
by using the unittest (and unit2 in python2.6) discover utility, that<br>
way the audience can have an easy way of running their suites without<br>
having an extra dep. But yes, it may be a good idea to show nose, so<br>
I'll make that happen.<br></blockquote><div><br></div><div>I didn't suggested it because you mentioned a pure unittest solution but since you are considering</div><div>nose, I would strongly suggest at least looking at py.test</div>
<div><br></div><div>You do not need any plugins for colored output....</div><div><br></div><div>If you run it in verbose mode:</div><div><br></div><div> py.test -v </div><div><br></div><div>You will see green "PASS" and/or red "FAIL" right next to the path of the test and the method/function name.</div>
<div><br></div><div>-Alfredo</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
Thanks!<br>
<br>
_______________________________________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
</div></div></blockquote></div><br>