elm-explorations / test

Write unit and fuzz tests for Elm code.
https://package.elm-lang.org/packages/elm-explorations/test/latest
BSD 3-Clause "New" or "Revised" License
236 stars 40 forks source link

Add information about skipped tests in junit report #140

Closed ShrykeWindgrace closed 4 years ago

ShrykeWindgrace commented 4 years ago

If I run a test suite with with some tests skipped via simple elm-test, the result is failure as described in readme. However, if I want to generate an xml/html report via elm-test --report junit I have no information that there were skipped tests at all. In the meantime, elm-test --report json has an entry "autoFail":"Test.skip was used".

I wonder if it is possible to add info on skipped test to the junit report as well? At least a mention of that fact, or better well with test names/paths. If I understand correctly, junit specs allow for ignored/disabled tests in its reports.

My config:

$ elm-test --version
0.19.1-revision2
$ elm --version
0.19.1
ShrykeWindgrace commented 4 years ago

It seems that I posted this issue in the wrong repository =) I am sorry for the noise.