Hi Ignacio. Thanks for the proposal. I have been longing this feature for a long time as I have to end up doing a mental subtraction every time. This is something that hits me quite a few times a day, when I do something like: `mix test --only bar` or `mix test --except bar`.
On Fri, 31 Mar 2023 08:10:01 -0700 (PDT) Ignacio Aguirrezabal <igna...@wyeworks.com> wrote: > Hi, everyone! > > There are many ways to skip tests in ExUnit, and even though it > reports how many tests were excluded, it doesn't explicitly say the > number of tests that were actually executed. > > I know you can always do the math by yourself given the actual report: > 7 tests, 1 failure, 1 excluded, 4 invalid => so 2 tests executed > > But we can let the machine do the math for us > 7 tests, 1 failure, 2 run, 1 excluded, 4 invalid > > > Another approach could be reporting how many were executed > successfully instead: > 7 tests, 1 failure, 1 passed, 1 excluded, 4 invalid > > I didn't want to open a PR without your feedback but here is some POC > https://github.com/elixir-lang/elixir/compare/main...iaguirre88:elixir:report-number-of-executed-tests?expand=1 > > Let me know what you think :) > > Thanks, > Ignacio > -- 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 elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/650a662c.050a0220.c4c3f.8300SMTPIN_ADDED_MISSING%40gmr-mx.google.com.