* Cédric Krier [2011-10-03 13:42 +0200]:
>>> As you have probably seen, I have started to configure the Jenkins [1] 
freely
>>> offered by Shining Panda [2].
>>
>> py.test can produce JUnit XML test reports that can be integrated with
>> Jenkins.
>>
>>    http://pytest.org/latest/usage.html#creating-junitxml-format-files
>>
>> This would provide information about failing tests and stuff like
>> that.
>
> I think py.test doesn't allow us to get test calls ordered.

nosetests [1] is another solution which provides JUNIT xml reports and works 
with jenkins

I tried nosetests on ShiningPanda because it was the example of the doc but it
failed because it did not run tests in the right orders.

The fact is that running tests in a specified order is not what unit
tests are about. That's probably why those tools do not "support" it.

So guess there is no sliver bullet for our use case (or spending a lot
of time creating mock objects and stuff like that but I have the
impression that the one doing that would rewrite a *lot* of stuffs and
that this time would be best spend somewhere else).

--
Nicolas Évrard

B2CK SPRL
rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
E-mail/Jabber: [email protected]
Website: http://www.b2ck.com/

--
[email protected] mailing list

Reply via email to