File and line is not reported correctly on test failures #10

Closed
haines opened this Issue Feb 10, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@haines

haines commented Feb 10, 2017

When running lein test2junit with test2junit 1.2.5, the generated XML has junit.clj:153 as the source of test failures rather than the correct location (i.e. the test file and line number of the assertion).

Expected output

expected: (= 0 1)
  actual: (not (= 0 1))
      at: my_test.clj:14

Actual output

expected: (= 0 1)
  actual: (not (= 0 1))
      at: junit.clj:153
@ruedigergad

This comment has been minimized.

Show comment
Hide comment
@ruedigergad

ruedigergad Apr 25, 2017

Owner

Thank you very much for the bug report.
Please excuse the long delay but I have been terribly busy with other things.
I uploaded test2junit version 1.2.6, which solves this problem at least in my environment.
Please check if the test2junit 1.2.6 also solves the issue for you.

Owner

ruedigergad commented Apr 25, 2017

Thank you very much for the bug report.
Please excuse the long delay but I have been terribly busy with other things.
I uploaded test2junit version 1.2.6, which solves this problem at least in my environment.
Please check if the test2junit 1.2.6 also solves the issue for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment