Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Include more detail in Junit failure messages #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gordonsyme
Copy link
Member

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.

@marcomorain
Copy link

awesome ⭐️

@gordonsyme
Copy link
Member Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants