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
237 stars 39 forks source link

In test script, pull package version from elm.json #71

Closed mgold closed 5 years ago

mgold commented 5 years ago

This prevents the tests from breaking whenever we bump the version.

avh4 commented 5 years ago

👍 FYI I think the tests will still fail (or maybe only in some cases?) if this line does not get bumped as well: https://github.com/elm-explorations/test/blob/master/tests/MakeTestRegistry.hs#L84

mgold commented 5 years ago

I didn't notice that with 1.2.1. It's a Haskell IO so it should be possible to read the JSON file "and then" use that to fill in the right version.