[TIP] Running two tests with the same name but with different context
kamal2222ahmed at yahoo.com
Tue Jun 28 21:10:34 PDT 2011
I am using:
1. nosetests 1.0
2. nosetests -s --with-xunit generates the XML file
3. I use nosetests -s -a '!mysql' $@ --with-xunit (the attrib plugin)
>From: Ben Finney <ben+python at benfinney.id.au>
>To: testing-in-python at lists.idyll.org
>Sent: Tuesday, June 28, 2011 11:54 PM
>Subject: Re: [TIP] Running two tests with the same name but with different context
>Kamal Ahmed <kamal2222ahmed at yahoo.com> writes:
>> I have a test footest.py which runs
>> with mysql database, and the same test runs on psql database, is there a
>> way to distinguish this difference in an XML result file between the
>> two tests.
>What test runner are you using?
>What generates the XML result file?
>What determines which database interface will be used when running the
>\ “Only the educated are free.” —Epictetus, _Discourses_ |
> `\ |
>testing-in-python mailing list
>testing-in-python at lists.idyll.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python