Why does test summary show: tests in unknown

Your test summary reports "Your build ran N tests in unknown with N failures," make sure that you're placing the junit xml file into a subfolder of the test summary path, and not to root. Example of a good config:


- store_test_results:
    path: ~/rpec

The name of the folder is not entirely important, but choosing the name of your test runner is common.

You can read more here in the docs about collecting test metadata

https://circleci.com/docs/2.0/collect-test-data/

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.