I’m using the junit-formatter Elixir package to produce $CIRCLE_TEST_REPORTS/test-junit-report.xml, which CircleCI does use to properly show that there are 30 tests, but when there are failures reported by
1) test changeset with required only attributes (InterpreterServer.ProfileTest) test/models/profile_test.exs:20 Expected false or nil, got true code: changeset.valid?() stacktrace: test/models/profile_test.exs:22 Finished in 1.3 seconds (0.9s on load, 0.3s on tests) 30 tests, 1 failure
it does not show up in the CircleCI UI. It says “Your build ran 30 tests in unknown with 0 failures.”. I assume this is a problem with xml format junit_formatter is outputing so that CircleCI doesn’t understand it exactly. Can someone with knowledge of CircleCI’s parser look at the xml and tell me what’s wrong?