Skip to content

Print all test result summaries at the end of a lein modules test run #37

@morganastra

Description

@morganastra

Currently, when you run lein modules test, the result summaries are printed after each modules' tests, which means you have to scroll through the output to find them. This gets tedious to do in large projects with lots of submodules. It would be great to have all of the test result summaries printed again at the very end of the test run, so you can tell at a glance what failed and in which modules. So, I imagine the end of the test output would look something like:

... many lines of test output ...

Module mod.foo: Ran 4 tests containing 10 assertions.
0 failures, 0 errors.
Module mod.bar: Ran 9 tests containing 34 assertions.
4 failures, 0 errors.
Module mod.baz: Ran 5 tests containing 28 assertions.
0 failures, 0 errors.

I would be happy to make a PR for this, just let me know if you have any pointers about how it should be done!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions