Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296506

Make run-tests.sh show verbose output for failing assertions only

$
0
0

When running tests from the command line, I currently have two options:
a) I can pass --verbose, in which case I get a really long list of mostly irrelevant passing tests that I have to scroll back through to check if anything failed; or
b) I can not pass --verbose, in which case if anything fails I need to re-run the test to find out what it was.

The vast majority of the time when I'm running a test I just want to know that everything passed, or if not then what I need to do to fix it. I propose listing all failed tests and exceptions by default, and adding a --summary-only option to support the current behaviour.

I wonder if this will confuse the d.o test infrastructure?


Viewing all articles
Browse latest Browse all 296506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>