Open ad-si opened 3 years ago
Oh, I guess this is the wrong repository. Also opened the issue in the test runner repo: https://github.com/rtfeldman/node-test-runner/issues/492 Feel free to close it here…
This behavior is due to the output of the fromTest
function in elm-explorations/test. It would require a change there to also pass the result of countAllRunnables distribution.skipped
to the Skipping
custom type variant. So this is actually an issue relevent both for node-test-runner and this repo.
The fix is probably to change the Skipping
constructor here to be:
type SeededRunners
= Plain (List Runner)
| Only (List Runner)
- | Skipping (List Runner)
+ | Skipping { skipped: Int, tests: (List Runner) }
| Invalid String
and then follow the compiler errors. I think a PR is welcome although this would be a major change so won't be released until elm-explorations/test 2.0.0 ships which would be a while into the future.
Currently it does not say how many tests were skipped: