I am just facing this problem that I am trying to solve since a while. I really need help in it.
With some of our inferred build commands we collect test metadata automatically, but that didn’t happen for this project. Collecting metadata allows us to list the specific failures, and in some cases makes parallel builds more efficient. Here’s how to get it: For an inferred ruby test command, simply add the necessary formatter gem Python should work automatically, except for django you’ll need to use django-nose. For another inferred test runner that you’d like us to add metadata support for, let us know. For a custom test command, configure your test runner to write a JUnit XML report to a directory in $CIRCLE_TEST_REPORTS - see the docs for more information.
My stack is django 1.9 on python 3.5. I am already using nose. We have some npm tests that we are just ignoring for this moment.
I tried multiple things to get this issue solved and none of them worked. It seems like there is something that I did not do correctly on my yml file.
Basically you need to have your test runner output it’s file in xunit format to $CIRCLE_TEST_REPORTS
Your easiest way to do this is to run django-nose, but if you choose to use another let me know the command and I’ll help you get the test metadata out of it.
I’m still getting the warning message even though I’m using nosetests. I tried outputting test_result.xml as @abbad said. I also tried using a django subdirectory (suggested in the docs):
Hey @abbad thanks for the suggestions. The code below worked. I think I had to specify all the paths because my manage.py is in a subdirectory (youhue/manage.py).