Test summary didnt show anything, despite store_test_results was succesfull

Hi friends! I battled with this same issue today and found a solution for me. For some reason, CircleCI is incredibly picky about the test results being in not just a subfolder— but a subfolder of a subfolder.

This final structure worked for me:

./junit/rspec/rspec.xml

And this config:

  - store_artifacts:
      path: junit

  - store_test_results:
      path: junit

It would not work if rspec.xml was just in the junit folder. It had to be in another folder. WTF? Anyways I hope it helps you.

1 Like