Results
31 tests have a different outcome under different compilers. See the differences ↓Each test is a real Elm program: the suite compiles it with each compiler, runs it, and checks its output against the expected output in its comments. The tests tagged elm19-bug and elm19-bug-fix expect the correct behaviour where Elm 0.19.1 has a bug, so they fail under 0.19.1 by design.
The site also carries A Standard Definition of Elm?, a formal definition of the language with a page for every rule.
Each test, project and tag has a Discussions section: start a discussion of a test on GitHub from its page, and it is shown there. See all the discussions of the tests.
Compilers
elm-0.19.1
elm-0.19.2
elm-0.19.3
lamdera-1.5.0
By project
Passed / failed (/ skipped). Choose a project to see its tests.
| Project | Tests | elm-0.19.1 | elm-0.19.2 | elm-0.19.3 | lamdera-1.5.0 |
|---|---|---|---|---|---|
| elm the language: every construct, literals and escapes, closures, recursion, pattern matching, records, custom types, the typing of `number`, ports, flags and `main`, and the programs a compiler must reject | 894 | 804 / 90 | 806 / 88 | 801 / 93 | 812 / 82 |
| elm-bytes elm/bytes encoders and decoders | 88 | 85 / 3 | 85 / 3 | 85 / 3 | 85 / 3 |
| elm-core elm/core, the basis library: arithmetic, equality and order, and every module, function by function | 370 | 335 / 35 | 335 / 35 | 334 / 36 | 334 / 36 |
| elm-error-catalogue requests for a better error report (tag `error-message`): what a compiler's report says or how it is laid out, which A Standard Definition of Elm? does not define. Where such a request rests on a program the book rejects, a test in `elm` checks the rejection | 17 | 4 / 13 | 8 / 9 | 8 / 9 | 8 / 9 |
| elm-html elm/html | 5 | 2 / 3 | 2 / 3 | 2 / 3 | 4 / 1 |
| elm-json elm/json | 42 | 41 / 1 | 41 / 1 | 41 / 1 | 41 / 1 |
| elm-parser elm/parser | 51 | 40 / 11 | 40 / 11 | 40 / 11 | 40 / 11 |
| elm-random elm/random | 1 | 0 / 1 | 0 / 1 | 0 / 1 | 0 / 1 |
| elm-regex elm/regex | 12 | 8 / 4 | 8 / 4 | 8 / 4 | 8 / 4 |
| elm-time elm/time | 8 | 6 / 2 | 6 / 2 | 6 / 2 | 6 / 2 |
| elm-url elm/url | 9 | 6 / 3 | 6 / 3 | 6 / 3 | 6 / 3 |
| elm-virtual-dom elm/virtual-dom | 2 | 0 / 2 | 0 / 2 | 0 / 2 | 2 / 0 |
By tag
Passed / failed (/ skipped). A tag gathers tests across projects; choose one to see its tests.
| Tag | Tests | elm-0.19.1 | elm-0.19.2 | elm-0.19.3 | lamdera-1.5.0 |
|---|---|---|---|---|---|
| elm-spec tests of `elm` and `elm-core` whose expected outcome A Standard Definition of Elm? determines: its rules and restrictions, derived forms and initial basis | 1017 | 907 / 110 | 909 / 108 | 904 / 113 | 915 / 102 |
| elm-spec-contradicts reported bugs whose expected outcome A Standard Definition of Elm? contradicts: the book decides the program the other way, so the report is not a bug against it; each is marked XFAIL and says why in its comment | 6 | 1 / 5 | 0 / 6 | 0 / 6 | 0 / 6 |
| elm-unspecced tests whose expected outcome A Standard Definition of Elm? leaves open or puts outside the definition: what `Debug.log` prints, arrays built by the library functions of `Array`, the value of an integer constant outside the Int range, the text of a crash, shader blocks, programs beyond an implementation's limits on size, stack or memory; each says why in its comment | 31 | 27 / 4 | 28 / 3 | 28 / 3 | 28 / 3 |
| elm19-bug bugs in Elm 0.19.1 and its packages reported in open GitHub issues, and its divergences from A Standard Definition of Elm?; each test links its issue or ruling and expects the correct behaviour | 157 | 2 / 155 | 1 / 156 | 1 / 156 | 14 / 143 |
| elm19-bug-fix bugs in Elm 0.19.1 fixed in a later official Elm release; each test expects the fixed behaviour and says in its comment which release fixed it | 9 | 0 / 9 | 7 / 2 | 9 / 0 | 9 / 0 |
| elm19-compile-error programs the compiler must reject, checked by the title of Elm 0.19.1's error report | 226 | 226 / 0 | 226 / 0 | 221 / 5 | 222 / 4 |
| error-message requests for a better error report: what a compiler's report says or how it is laid out, which A Standard Definition of Elm? does not define; named `ErrorMessages…` or `ErrorMessage…` after their issue, and kept in the project `elm-error-catalogue` | 17 | 4 / 13 | 8 / 9 | 8 / 9 | 8 / 9 |
Tests whose outcome differs (31)
Hover over a badge for the reason; choose a test for its output.