Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpizenberg/elm-test-runner
https://github.com/mpizenberg/elm-test-runner
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mpizenberg/elm-test-runner
- Owner: mpizenberg
- License: bsd-3-clause
- Created: 2020-12-10T15:51:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T09:37:04.000Z (12 months ago)
- Last Synced: 2024-05-09T13:40:04.241Z (8 months ago)
- Language: Elm
- Size: 64.5 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-test-runner
Helper elm package to run elm tests and report results.
**WARNING:** please do not use outside of the elm-test-rs tests runner.## Test runner architecture
There is a main CLI built in Rust in the repository [mpizenberg/elm-test-rs][elm-test-rs].
It is tasked to fiddle with tests files, generate some Elm and JS files and run them.
It ends with the start of a basic NodeJS supervisor program,
supervising runners in workers and a reporter.
Both the runner code and the reporter code are in Elm.
You can find them here, in the modules `ElmTestRunner.Runner` and `ElmTestRunner.Reporter`.
The following diagram summarizes the architecture
and communication channels of the supervisor, reporter and runners.![architecture diagram][runner-diagram]
[elm-test-rs]: https://github.com/mpizenberg/elm-test-rs
[runner-diagram]: https://mpizenberg.github.io/resources/elm-test-rs/elm-test-runner.png