catchorg / Catch2

A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
https://discord.gg/4CWS9zD
Boost Software License 1.0
18.49k stars 3.02k forks source link

Short list of tests in output #396

Open AlexisWilke opened 9 years ago

AlexisWilke commented 9 years ago

I suppose this is related to issue https://github.com/philsquared/Catch/issues/378 which asks for a shortened version of the output.

However, what I'd like is a simple one line output of which test is being run when I use a certain flag such as -v (for verbose). I get a similar effect right now using the '-d yes' option. But that's a bit funky to have to use such an option just to see the list of tests being run. Plus, it prints the name of the test after it was executed, not before. So when I get an error, I still don't know which test failed (I can look using the --list as it will be the test after the last one -d printed, but that's really convoluted.)

So, that -v would just print the name of the test like the -d, although without the timing, obviously.

aldanor commented 8 years ago

This would be nice to have, I concur. // also using -d yes option

ghost commented 7 years ago

I think this would be nice to have as well

izzyreal commented 5 years ago

Same here. I think it's odd that by default you have no idea which tests are being run unless diving into the code.

sketch34 commented 1 month ago

Yes please, this is needed.