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

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,066 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot