Hi! ExUnit supports custom formatters, so my suggestion is to implement your own formatter and plug it in, without a need to change Elixir. :)
On Thu, Feb 3, 2022 at 1:47 PM sp <[email protected]> wrote: > Hello! > > While working through a project I found that I just wanted a print out of > tests that failed and on what line instead of the full description and > stack trace. Something like: > test/my_test.exs:5 > test/my_test.exs:12 > .... etc > > I was able to 'grep' something close to this but feel it would be helpful > to pass an option to 'mix test' allowing for a concise output. > > I've got something close with the Elixir source code, I've changed the CLI > formatter behavior when the option is present, but wanted to make sure > others would approve before opening a PR. > > Please let me know your thoughts! > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/1764a0c9-e191-4f5c-916e-99abdd881c47n%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/1764a0c9-e191-4f5c-916e-99abdd881c47n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4L-U9qbFjUE%3DSTf1c%2Bhzta0eOzNyL2T1JnOPK9SXMxLAA%40mail.gmail.com.
