node-test-runner
elm-review
node-test-runner | elm-review | |
---|---|---|
1 | 7 | |
132 | 244 | |
- | - | |
2.3 | 5.8 | |
10 months ago | 10 days ago | |
JavaScript | Elm | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
node-test-runner
-
Setting up an Elm project in 2022
To actually run the tests, however, there are currently two options. The first, as noted above, is node-test-runner, which is available from npm at elm-test. This utility will run the tests as defined in your Elm code, and return the results. There is a second option, elm-test-rs, which is written in Rust instead of Node. It has a handful of features that node-test-runner does not have, as well as some downsides (see the Github README for details), but in general both tools work very well for testing Elm code.
elm-review
-
Yet Another Tour of an Open-Source Elm SPA
It uses devbox, Elm 0.19.1, the latest Elm packages (in particular elm/http 2.0.0), elm-review, Caddy, a sprinkle of Dart Sass, and a handful of Bash scripts (one of them being a deployment script). It uses elm test and features tests for key data structures.
-
Getting rid of your dead code in ReScript
A special shout out to Elm review which has inspired how reanalyze reports code that's transitively dead.
- ESLint equivalents in Elm
-
Setting up an Elm project in 2022
The Elm community has an unofficial linter (called elm-review), which can be used to check your code for potential bugs or mistakes, or highlight a better way to write Elm. Unlike elm-format (and more similar to tools like ESLint), elm-review does not come with any default rules to follow:
-
What are some neat elm-review rules you are using?
elm-review: https://package.elm-lang.org/packages/jfmengels/elm-review/latest/
-
We chose Elm for Humio’s web UI
Glad to see more posts on Elm out there, it really is a great language and ecosystem! Like any large project, it has some issues, but in my day-to-day writing code I have never had as much fun, or had as much confidence that my code does what it says on the tin, as I have with Elm.
I wanted to give a shout out to one of Jeroen's other projects in the Elm ecosystem, elm-review (https://package.elm-lang.org/packages/jfmengels/elm-review/l...), it is an excellent linter/fixer and allows writing your own rules as well.
-
How do I Enterprise-ize Elm?
For technical debt and other code-base maintenance, I'd suggest using elm-review.
What are some alternatives?
vite-plugin-elm - A plugin for Vite enables you to compile an Elm application/document/element
elm-spa-example - A Single Page Application written in Elm
elm-test-rs - Fast and portable executable to run your Elm tests
elm-format - elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide
vite-elm-template - A default template for building Elm applications using Vite.
editor-plugins - List of editor plugins for Elm.
elm-companies - 🌲 A list of companies using Elm in production.
elm-webpack-loader - Webpack loader for the Elm programming language.
kite - An interactive visualization tool for graph theory