<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Ben,</span></div><div><br><span></span></div><div><span>I am using:</span></div><div><span><br></span></div><div><span>1. nosetests 1.0</span></div><div><span>2. nosetests -s --with-xunit generates the XML file</span></div><div><span>3. I use nosetests -s -a '!mysql' $@ --with-xunit (the attrib plugin)</span></div><div><br><span></span></div><div><span>Thanks,</span></div><div><span>-Kamal.<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Ben Finney <ben+python@benfinney.id.au><br><b><span
style="font-weight: bold;">To:</span></b> testing-in-python@lists.idyll.org<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, June 28, 2011 11:54 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [TIP] Running two tests with the same name but with different context<br></font><br>
Kamal Ahmed <<a ymailto="mailto:kamal2222ahmed@yahoo.com" href="mailto:kamal2222ahmed@yahoo.com">kamal2222ahmed@yahoo.com</a>> writes:<br><br>> I have a test <a target="_blank" href="http://footest.py">footest.py</a> which runs <br>> with mysql database, and the same test runs on psql database, is there a<br>> way to distinguish this difference in an XML result file between the <br>> two tests.<br><br>What test runner are you using?<br><br>What generates the XML result file?<br><br>What determines which database interface will be used when running the<br>test?<br><br>-- <br> \ “Only the educated are free.” —Epictetus, _Discourses_ |<br> `\
|<br>_o__) |<br>Ben Finney<br><br><br>_______________________________________________<br>testing-in-python mailing list<br><a ymailto="mailto:testing-in-python@lists.idyll.org" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>http://lists.idyll.org/listinfo/testing-in-python<br><br><br></div></div></blockquote></div></div></body></html>