# Do you want a list of all tests (passing and failing) in your console test reports?

**URL:** <https://discourse.elm-lang.org/t/do-you-want-a-list-of-all-tests-passing-and-failing-in-your-console-test-reports/8249>\
**Category:** Request Feedback\
**Created:** [March 13, 2022, 9:23pm UTC](https://discourse.elm-lang.org/t/do-you-want-a-list-of-all-tests-passing-and-failing-in-your-console-test-reports/8249 "2022-03-13T21:23:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattpiz](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/mattpiz/32/860_2.png) [@mattpiz](https://discourse.elm-lang.org/u/mattpiz)\
**Post date:** [March 13, 2022, 9:23pm UTC](https://discourse.elm-lang.org/t/do-you-want-a-list-of-all-tests-passing-and-failing-in-your-console-test-reports/8249/1 "2022-03-13T21:23:31Z")

</div>

The current behavior of elm-test (and elm-test-rs) in the console report is to display the failing tests with their error messages, followed by an aggregated summary of all tests. Something like this:

```nohighlight
Running 2 tests. To reproduce these results later,
run elm-test-rs with --seed 558596839 and --fuzz 100

↓ Question
✗ wrong answer

    43
    ╷
    │ Expect.equal
    ╵
    42

TEST RUN FAILED

Duration: 3 ms
Passed: 1
Failed: 1

```

Some have asked for the ability to list all the tests run in the report. This could be implemented for example by adding the following, between the failure details and the summary:

```nohighlight
↓ Question
   ✗ wrong answer
   ✓ correct answer

```

I have two questions for you, first do you think such a feature is worth integrating directly into elm-test-rs, and if so how to adapt the CLI? I can see 4 options which are the following:

1. Do not integrate this directly in elm-test-rs
2. Use the `--verbose`/`-v` option
3. Use another report such as `--report consoleDetails`
4. Use a dedicated new option only valid for the console report like `--display-tests-listing`

In the case where you think it’s not worth integrating directly into elm-test-rs, this isn’t a complete blocker since I plan to enable custom user reports in a future release. Something that would look like:

```nohighlight
elm-test-rs --report "custom" --report-package "user/package@1.0.0" --report-fn "MyReporter.implementation"

```

where `user/package@1.0.0` would be your own package containing a `MyReporter` module with an `implementation` function satisfying some predefined interface.

_Poll ([view on site](https://discourse.elm-lang.org/t/do-you-want-a-list-of-all-tests-passing-and-failing-in-your-console-test-reports/8249/1))_

If you think of something else or have any feedback, please post a comment in this thread.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [March 23, 2022, 9:24pm UTC](https://discourse.elm-lang.org/t/do-you-want-a-list-of-all-tests-passing-and-failing-in-your-console-test-reports/8249/2 "2022-03-23T21:24:14Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
