Notable changes to this project will be documented in this file.
The format is based on Keep a Changelog. This project mirrors major Elm versions. So version 0.18.* of this project will be compatible with Elm 0.18.*.
- Run tests in parallel (#45)
--watch
error reporting (#192)--watch
potential extra compile processes (#194)
- More accurate timetracking
- Use symlinks to improve generated code performance
- Use Elm instead of Chalk for colored console output
- Use Prettier
- All reporters were considered "machine readable", resulting in the error stream being ignored (#161)
- We have a changelog! (#151)
- Proper error messages when username or repository name contains dots (#166)
- Add flow type annotations to prevent silly JS mistakes! (#162)
- Imports in the
Example.elm
file are now sorted for compatibility withelm-format@exp
--report
flag broken (#155)
- If your project depends on
elm-lang/html
,elm-test init
will add a dependency toeeue56/elm-html-test
so you can test your HTML. (#154)
- Runner no longer fails when CWD has spaces in it (#147)
- Tests that are
port modules
oreffect modules
are no longer rejected (#143)
--add-dependencies target/elm-package.json
flag to add any missing dependencies from theelm-package.json
file in the current director to thetarget/elm-package.json
file. (#28)Test.todo
to mark tests as not yet implemented. (#104)--fuzz
flag to override the default fuzz count. (#77)Test.only
andTest.skip
to limit which tests will be executed.
elm-test init
now adds all dependencies from the packageelm-package.json
to the generatedtests/elm-package.json
file. (#68)- You no longer write a
tests/Main.elm
file. Rather, you pass the paths to your tests to theelm-test
executable to run just those files, or you runelm-test
without arguments which will look for all elm files undertests/
andtest/
. (#72) - All exposed values of type
Test
are executed by the test-runner. - Duplicate titles/descriptions fail the test run. (#115)
- Empty describes are no longer allowed. (#95)
- Ignores
elm-stuff
(#100) - Tests that throw a runtime exception fail with the exception message as failure, rather than crashing the runner. (#69)
- Upgrade the runner
npm i -g elm-test
- Remove
tests/Main.elm
- Remove the dependency on
rtfeldman/node-test-runner
fromtests/elm-package.json
- Bump the dependency on
elm-community/elm-test
to4.0.0 <= v < 5.0.0
intests/elm-package.json
- Ensure your test files expose each test you want to run, and that those values
are of type
Test
- Make sure those tests aren't defined twice (for example: once as a top-level
value, and again in a
describe
block) or they will be executed twice. - run
elm-test
to execute your tests.