how to parse django tests with bamboo

I'm running bamboo with a python django project. The builds fails or is succesful if the python manage.py test myproject fails or is succesful.

But bamboo always report 0 tests, even if 400 tests are runned.

How do you use bamboo with django projects?

1 answer

1 accepted

0 votes
Accepted answer

I've never done it, but you should be able to hook up this library;

http://pypi.python.org/pypi/unittest-xml-reporting/1.0.3

And then configure Bamboo to parse Unit Tests XML reports.

New to Bamboo here. I have a similar need I think. I have tests running in unittest/nose and want Bamboo to parse the results. How do I:

"configure Bamboo to parse Unit Tests XML reports."?

When adding a test task, I see nothing of the sort. Should I just add the Junit task?

I too am attempting to run Django tests (using the nose test runner).  Do you have a step-by-step to get this working? 

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,372 views 21 17
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you