circleci.test icon indicating copy to clipboard operation
circleci.test copied to clipboard

Include more detail in Junit failure messages

Open gordonsyme opened this issue 6 years ago • 2 comments

Failures now look like

  <testcase name="post-pipeline" time="0.92274262">
    <failure type="assertion failure" message="FAIL in circle.test-foo/ (my-test-name) (test_foo.clj:115)
can specify parameters
expected: (let [request-body (json/generate-string {:foo &quot;foo&quot;, :bar &quot;v2.0&quot;}) response (api-call user :post sample-uri request-body)] (= 200 (:status response)))
  actual: false">
    </failure>
  </testcase>

Also added -SNAPSHOT to the project version.

gordonsyme avatar May 16 '19 13:05 gordonsyme

awesome ⭐️

marcomorain avatar May 17 '19 12:05 marcomorain

I'm having a bit of trouble getting the newlines preserved all the way through to the CircleCI UI, gonna poke/ponder this a bit more.

gordonsyme avatar May 17 '19 12:05 gordonsyme