Skip to content

More independence from elm-test-rs with custom reports #39

@mpizenberg

Description

@mpizenberg

Due to an issue with the name field in the exercism report of elm-test-rs, we needed to update both the mpizenberg/elm-test-runner elm package with the fix (mpizenberg/elm-test-runner#12) and then the elm-test-rs executable to use that new version of the reporter package.

Related to another issue, I came to the conclusion that it would be possible (I think) to enable custom reporters, configured directly with command line arguments of the elm-test-rs executable. I've detailed the approach a bit more in that issue: mpizenberg/elm-test-runner#11

I'm linking this here, because I think doing this will benefit exercism since essentially, we could be using it like follows:

elm-test-rs --report "custom" --report-package "exercism/elm-reporter@1.0.0" --report-fn "ExercismReporter.implementation"

This would enable any update to the exercism reporter code, as long as it's still compatible with the version of mpizenberg/elm-test-runner used by elm-test-rs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    x:knowledge/intermediateQuite a bit of Exercism knowledge requiredx:module/test-runnerWork on Test Runnersx:size/largeLarge amount of workx:type/codingWrite code that is not student-facing content (e.g. test-runners, generators, but not exercises)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions