elm-review
test
elm-review | test | |
---|---|---|
7 | 3 | |
242 | 233 | |
- | 0.9% | |
5.8 | 5.4 | |
28 days ago | 3 months ago | |
Elm | 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.
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.
test
-
Setting up an Elm project in 2022
The de-facto standard for testing an Elm application is elm-test. However, as noted in the README:
-
Porting Elm to WebAssembly
Once all that handwritten C code was solid, I needed to make sure the C generated from Elm was working properly. I found the source for the core library's unit tests and decided to port them into my project and add some of my own tests. You can run the tests in WebAssembly in your browser too. (Funnily enough, one of the biggest challenges was getting the Elm Test framework itself to run! The framework is more complex than the tests themselves. I still need to come back to the fuzzer tests!)
-
Causing Bedlam in Elm
Lesson Learned: Elm has built in recursion improvements for a variety of positive reasons, and you should think in recursion to solve looping problems. Use property/fuzz tests and bounds checking with early exit to prevent this from locking up your UI (i.e if > 9000, omg abort). If you’re algorithm is reasonable, but the data set is just gigantic, offload to a server instead for more horsepower. Or Workers if you don’t have server chops, can’t upload the large data, or don’t trust your server devs. (“But Doc, I’m the server dev!” Good joke. Ever̸y̴b̸ody laugh. Roll on s̵͓̆nâ̶̱re drum. Curtains.)
What are some alternatives?
elm-spa-example - A Single Page Application written in Elm
Google Test - GoogleTest - Google Testing and Mocking Framework
elm-format - elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide
ut - C++20 μ(micro)/Unit Testing Framework
elm-test-rs - Fast and portable executable to run your Elm tests
CppUTest - CppUTest unit testing and mocking framework for C/C++
elm-companies - 🌲 A list of companies using Elm in production.
Catch - A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
kite - An interactive visualization tool for graph theory
Google Mock
vite-plugin-elm - A plugin for Vite enables you to compile an Elm application/document/element
benchmark - A microbenchmark support library