# Elm test output

**URL:** <https://discourse.elm-lang.org/t/elm-test-output/6084>\
**Category:** Learn\
**Created:** [July 27, 2020, 9:37am UTC](https://discourse.elm-lang.org/t/elm-test-output/6084 "2020-07-27T09:37:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewMacmurray](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/andrewmacmurray/32/2797_2.png) [@andrewMacmurray](https://discourse.elm-lang.org/u/andrewMacmurray)\
**Post date:** [July 27, 2020, 9:37am UTC](https://discourse.elm-lang.org/t/elm-test-output/6084/1 "2020-07-27T09:37:10Z")

</div>

Hello Elm people!

I was wondering if there’s a way to reduce some of `elm-test`'s output. We’ve been making more use of `elm-program-test` recently so the tests now cover a large folder of UI Elements and the output looks like:

```auto
elm-test 0.19.1
---------------

Running 80 tests. To reproduce these results, run: elm-test --fuzz 100 --seed 231172734506082 
/Users/andrewmacmurray/oprah/application/frontend/src/app/elm/Account.elm 
/Users/andrewmacmurray/oprah/application/frontend/src/app/elm/Account/AccessLevel.elm 
/Users/andrewmacmurray/oprah/application/frontend/src/app/elm/Account/Admin.elm 
/Users/andrewmacmurray/oprah/application/frontend/src/app/elm/Account/AllowedModule.elm 
/Users/andrewmacmurray/oprah/application/frontend/src/app/elm/Account/Partner.elm
...400/500 lines

TEST RUN PASSED

Duration: 526 ms
Passed: 80
Failed: 0 

```

Would be nice to not have so much on the screen. Any thoughts?

---

<div class="post-metadata">

**Author:** ![catz](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/catz/32/1007_2.png) [@catz](https://discourse.elm-lang.org/u/catz)\
**Post date:** [July 27, 2020, 11:02am UTC](https://discourse.elm-lang.org/t/elm-test-output/6084/2 "2020-07-27T11:02:26Z")

</div>

Maybe pass the output to some filter (grep) via standard bash pipe ?

---

<div class="post-metadata">

**Author:** ![andrewMacmurray](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/andrewmacmurray/32/2797_2.png) [@andrewMacmurray](https://discourse.elm-lang.org/u/andrewMacmurray)\
**Post date:** [July 27, 2020, 12:33pm UTC](https://discourse.elm-lang.org/t/elm-test-output/6084/3 "2020-07-27T12:33:32Z")

</div>

Thanks, nice and low tech!

This is working well for local dev:

```auto
elm-test --watch | grep -E -e '^Running [0-9,]+ tests.' -v

```

---

<div class="post-metadata">

**Author:** ![harrysarson](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/harrysarson/32/1305_2.png) [@harrysarson](https://discourse.elm-lang.org/u/harrysarson)\
**Post date:** [July 27, 2020, 8:40pm UTC](https://discourse.elm-lang.org/t/elm-test-output/6084/4 "2020-07-27T20:40:56Z")

</div>

Happy to review a pull request to [https://github.com/rtfeldman/node-test-runner](https://github.com/rtfeldman/node-test-runner) that tides the output up!

---

<div class="post-metadata">

**Author:** ![andrewMacmurray](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/andrewmacmurray/32/2797_2.png) [@andrewMacmurray](https://discourse.elm-lang.org/u/andrewMacmurray)\
**Post date:** [July 28, 2020, 10:41am UTC](https://discourse.elm-lang.org/t/elm-test-output/6084/5 "2020-07-28T10:41:26Z")

</div>

That would be awesome, thanks Harry! I’ve made an issue on the repo so can have some discussions on what a nice solution might look like [https://github.com/rtfeldman/node-test-runner/issues/431](https://github.com/rtfeldman/node-test-runner/issues/431)

---

<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:** [August 7, 2020, 10:41am UTC](https://discourse.elm-lang.org/t/elm-test-output/6084/6 "2020-08-07T10:41:29Z")

</div>

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