Run elm-test and view results without leaving Atom
elm-test-runner
in Atom.
elm-package.json
file, a tests
directory that contains Elm files exposing functions of type Test
. I recommend that you set up your test directory with elm-test init
in order to ensure compatibility.When you activate the Elm Test Runner panel for the first time in an Atom session, Elm Test Runner scans all projects in your workspace for directories that meet the following criteria:
elm-package.json
file.tests
.Each directory that meets these criteria is saved and added to the "Projects" selector at the top of the panel. If your Atom workspace contains multiple testable Elm projects, you can select which project Elm Test runs against by changing the value in the selector.
Your directories are only scanned once, and the results are cached. If you change your workspace to include or remove an Elm project after Elm Test Runner has been initialized, you will need to rescan for valid projects. You can do this from the following menu selection: Packages → Elm Test Runner → Re-Scan for Testable Directories.
elm-test
. If the box is unchecked, or if the number field is empty (it will read "Generate Random"), then a random seed will be used.
elm-verify-examples
in your project directory before proceeding to run elm-test
. The status bar at the top Elm Test Runner panel will indicate when tests are being generated as opposed to being run.Important Caveat: Only files that are in the current active Atom project are capable of being opened in this way.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.