<div dir="ltr">I don&#39;t know if there already an option to do this, but I think it would probably be easier to use a post-test nose plugin than to rewrite a parser.<div class="gmail_extra"><br><br><div class="gmail_quote">


On Mon, Apr 29, 2013 at 12:05 PM,  <span dir="ltr">&lt;<a href="mailto:testing-in-python-request@lists.idyll.org" target="_blank">testing-in-python-request@lists.idyll.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Send testing-in-python mailing list submissions to<br>
        <a href="mailto:testing-in-python@lists.idyll.org" target="_blank">testing-in-python@lists.idyll.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:testing-in-python-request@lists.idyll.org" target="_blank">testing-in-python-request@lists.idyll.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:testing-in-python-owner@lists.idyll.org" target="_blank">testing-in-python-owner@lists.idyll.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of testing-in-python digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
   1. Rolling up test results (medford bridges)<br>
   2. Re: Rolling up test results (John Wong)<br>
<br><br>---------- Forwarded message ----------<br>From: medford bridges &lt;<a href="mailto:medford.bridges@gmail.com" target="_blank">medford.bridges@gmail.com</a>&gt;<br>To: <a href="mailto:testing-in-python@lists.idyll.org" target="_blank">testing-in-python@lists.idyll.org</a><br>


Cc: <br>Date: Mon, 29 Apr 2013 12:23:55 -0400<br>Subject: [TIP] Rolling up test results<br>Apologies in advance if this is a too opt-asked, frequently answered question so I&#39;ll keep it really simple.<div><br></div><div>


Given this output from a couple of tests in a couple of files, run by nosetests:</div><div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>...</div><div>Ran 8 tests in 0.077s</div><div><br></div><div>FAILED (failures=4)</div></blockquote><br></div><div>Is there a option or other tool set to produce something more like this, either instead or in addition to basic output?</div>



<div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>...</div><div>SimpleTest1   2/2/0/4 (pass/fail/error/total tests) </div><div>SimpleTest2   2/2/0/4 (pass/fail/error/total tests)</div><div>Summary       4/4/0/8 (pass/fail/error/total tests)</div>



</blockquote><br></div><div>In particular, I&#39;d like to be able to track total tests run, pass/fail percentages, and more without diving into output parsing.</div><div><br></div><div>It would be useful to get a count of tests in a test case file or test suite collection, even if some were skipped for various reasons.</div>



<div><br></div><div>Thanks.</div>
<br><br>---------- Forwarded message ----------<br>From: John Wong &lt;<a href="mailto:gokoproject@gmail.com" target="_blank">gokoproject@gmail.com</a>&gt;<br>To: medford bridges &lt;<a href="mailto:medford.bridges@gmail.com" target="_blank">medford.bridges@gmail.com</a>&gt;<br>


Cc: &quot;<a href="mailto:testing-in-python@lists.idyll.org" target="_blank">testing-in-python@lists.idyll.org</a>&quot; &lt;<a href="mailto:testing-in-python@lists.idyll.org" target="_blank">testing-in-python@lists.idyll.org</a>&gt;<br>

Date: Mon, 29 Apr 2013 13:18:35 -0400<br>
Subject: Re: [TIP] Rolling up test results<br><div dir="ltr">I think nose has the ability to customize the output. Haven&#39;t dived in too much.<div>But I do know nose-progressive can output pretty nicely.</div><div><a href="https://pypi.python.org/pypi/nose-progressive/" target="_blank">https://pypi.python.org/pypi/nose-progressive/</a><br>



</div><div>In particular the option <span style="line-height:17.8125px;font-size:12px;white-space:pre-wrap;font-family:monospace">--progressive-advisories you can check it out.</span></div><div><span style="line-height:17.8125px;font-size:12px;white-space:pre-wrap;font-family:monospace">Search in </span><a href="http://www.verious.com/code/svetlyak40wt/nose-progressive/" target="_blank">http://www.verious.com/code/svetlyak40wt/nose-progressive/</a></div>



<div><br></div><div>BY default it gives you the nice text. Another way I can think of is the XML report.</div><div><br></div><div>John</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Apr 29, 2013 at 12:23 PM, medford bridges <span dir="ltr">&lt;<a href="mailto:medford.bridges@gmail.com" target="_blank">medford.bridges@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Apologies in advance if this is a too opt-asked, frequently answered question so I&#39;ll keep it really simple.<div><br></div><div>Given this output from a couple of tests in a couple of files, run by nosetests:</div><div>




<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>...</div><div>Ran 8 tests in 0.077s</div><div><br></div><div>FAILED (failures=4)</div></blockquote><br></div><div>Is there a option or other tool set to produce something more like this, either instead or in addition to basic output?</div>




<div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>...</div><div>SimpleTest1   2/2/0/4 (pass/fail/error/total tests) </div><div>SimpleTest2   2/2/0/4 (pass/fail/error/total tests)</div><div>Summary       4/4/0/8 (pass/fail/error/total tests)</div>




</blockquote><br></div><div>In particular, I&#39;d like to be able to track total tests run, pass/fail percentages, and more without diving into output parsing.</div><div><br></div><div>It would be useful to get a count of tests in a test case file or test suite collection, even if some were skipped for various reasons.</div>




<div><br></div><div>Thanks.</div>
<br>_______________________________________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org" target="_blank">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>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org" target="_blank">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>
<br></blockquote></div><br></div></div>