<br><br><div class="gmail_quote">On Tue, Mar 16, 2010 at 9:47 PM, Pekka Klärck <span dir="ltr">&lt;<a href="mailto:peke@iki.fi">peke@iki.fi</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
After using unittest for several years I&#39;ve started to get slightly<br>
bored with it. There are several annoyances, but my pet peeves are the<br>
need to write boring boilerplate, the lack of test discovery, and the<br>
PEP-8 incompatible. Because it seems unittest2 isn&#39;t going to fix too<br>
many of these problems, and my actual needs for a unit testing tool<br>
are fairly simple, I decided to see could I write a tool that actually<br>
works the way I want.<br>
<br>
After few hours hacking, and 132 lines of Python, I have a pretty<br>
promising prototype that:<br>
- requires zero boilerplate (any function or method starting with<br>
&#39;test_&#39; in a file starting with &#39;test_&#39; is a test),<br></blockquote><div><br></div><div>This will effectively break (or will not work) with (after browsing your source code):</div><div><br></div><div>Test_</div>
<div>TEST_</div><div><br></div><div>Or any other combination of upper + lower case in test.</div><div><br></div><div>Your test discovery should be able to resolve case insensitive naming... I think.</div><div><br></div><div>
 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
- can find tests recursively from a directory,<br>
- is naturally PEP-8 compatible, and<br>
- can execute also old unittest based tests.<br>
<br>
The code and some example tests are available at<br>
<a href="http://bitbucket.org/pekkaklarck/simppu/" target="_blank">http://bitbucket.org/pekkaklarck/simppu/</a>. Comments, questions, forks,<br>
patches, etc. are highly appreciated!<br>
<br>
Cheers,<br>
    .peke<br>
<font color="#888888">--<br>
Agile Tester/Developer/Consultant :: <a href="http://eliga.fi" target="_blank">http://eliga.fi</a><br>
Lead Developer of Robot Framework :: <a href="http://robotframework.org" target="_blank">http://robotframework.org</a><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>
</font></blockquote></div><br><br clear="all"><br>-- <br>Alfredo Deza<br><br>