简体   繁体   中英

PHPUnit configuration option to list executed tests

How to get a list of all test classes and methods in order they ware executed by PHPUnit printed to stdout? Is there any configuration option that turns on such information?

I'm using PHPUnit 7.5.6 on Ubuntu 18.04.

I prefer to use the switch:

--testdox

It provides a nice grouped list of test results that are quick and easy to read

You can use the debug flag as described in the doc in the command-line test runner :

 --verbose 

Output more verbose information, for instance the names of tests that were incomplete or have been skipped.

 --debug 

Output debug information such as the name of a test when its execution starts.

Hope this help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM