1

phpUnit テストから適切なログを取得する方法はありますか?、ヘルプ マニュアルにはいくつかのオプションがあります。

  --log-junit <file>        Log test execution in JUnit XML format to file.
  --log-tap <file>          Log test execution in TAP format to file.
  --log-json <file>         Log test execution in JSON format.

  --coverage-clover <file>  Generate code coverage report in Clover XML format.
  --coverage-html <dir>     Generate code coverage report in HTML format.
  --coverage-php <file>     Serialize PHP_CodeCoverage object to file.
  --coverage-text=<file>    Generate code coverage report in text format.

  --testdox-html <file>     Write agile documentation in HTML format to file.
  --testdox-text <file>     Write agile documentation in Text format to file.

--coverage-html /tmp/report が機能するようになり、素敵な html レポートが生成されますが、空です。テストに関するデータを入力するにはどうすればよいですか? 私がそれを正しく理解していれば、coverage-html は情報を表示するためのテンプレートを作成するだけだからです。

4

0 に答える 0