If you are uploading test results to CircleCI but they are not showing up in the dashboard, then the most common cause is that the xml file that you are uploading to the test results service is not valid Junit Style XML.
This utility can be used to easily validate that the test results that you are uploading to CircleCI are valid Junit XML.
On the circle side, make sure you are uploading your test results as an artifact.
The simplest way to to use this tool is to use the pre-built docker container.
docker run -e "CIRCLE_TOKEN=$YOUR_CIRCLECI_API_TOKEN" -e "URL=$YOUR_BUILD_URL" levlaz/circleci-test-results-valdiator
Right now this is kind of a hodge podge of things.
- Java
- Node
- Python
To install everything do this:
npm install
pip install -r requirements.txt
- Make sure you have a valid
$CIRCLE_TOKENexported as an environment variable. - Run
python validate.py $URL
Be sure to replace $URL with a URL to the build that you want to validate the test results for.