Write your tests in Tests.elm
.
Implementation can go straight in there, or create and import files as necessary...
-
Clone this repository
-
Install Elm, elm-format and elm-test
npm install
So you have elm, elm-format and elm-test all "locally" instead of globally.
- Run tests
npm test
-
Install the Elm Plugin (and restart when prompted)
-
Configure the Elm Plugin to find the elm, elm-format and elm-test binaries by going to Preferences > Languages and Frameworks > Elm and clicking Autodiscover for elm, elm-format and elm-test.
-
Try opening tests/Tests.elm and running them via IntelliJ. Click on Attach elm.json when prompted and select this project's elm.json.
GL HF!