Hello Prasanna,<div><br></div><div>For me it seems like this is enabled by default.</div><div><br></div><div><div><testsuite name="nosetests" tests="3" errors="0" failures="0" skip="0"></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span><testcase classname="test_someclass" name="test_some_method" time="2.042" /></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><testcase classname="test_someclass" name="test_some_other" time="0.058" /></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span><testcase classname="test_someclass" name="test_some_other" time="0.022" /></div></testsuite></div><div><br></div>
<div>I run my nosetests with the following parameters.</div><div><br></div><div>nosetests --with-xunit --verbose --with-coverage --cover-xml --cover-package=mypackage</div><div><br></div><div>Hope this helps your case.</div>
<div><br></div><div>-Tim<br><div class="gmail_quote">On Wed, Oct 31, 2012 at 7:27 AM, Prasanna Santhanam <span dir="ltr"><<a href="mailto:prasanna.santhanam@citrix.com" target="_blank">prasanna.santhanam@citrix.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
Is it possible to retrieve the time for each test fixture when using<br>
the nosetests xunit plugin? By default I didn't see any options on the<br>
cmd line for doing this.<br>
<br>
I've used unittest-xml-reporting with some success and it reports the<br>
fixture run times which is quite useful for optimizing and speeding up<br>
tests.<br>
<br>
Thanks,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Prasanna.,<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></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Kind regards,<br>Tim Aerdts<br><a href="http://www.tuimz.nl">http://www.tuimz.nl</a><br>
</div>