EC-CUBE / EC-CUBE/eccube-codeception

カバレッジ出力のサポート

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9
Forks
17
PR merge metrics
No merged PRs in 30d

Description

codeception のオプションに --coverage --coverage-html --coverage-xml を
付与すると tests/_output にカバレッジ出力可能.
しかし、現状ではSilex のせいなのか、0 か 100 のようなカバレッジしか出力できない模様ですので、今後の課題とします。

--coverage-html は c3.php のバグなのか、カバレッジレポートをローカルに転
送する際エラーになってしまう。
が、Webサーバーの tests/_output/c3tmp/codecoverage.tar にレポートは出力
されるので、これを展開すれば確認可能

以下、検証した差分
https://github.com/nanasess/eccube-codeception/commit/04b7522eaa51bf8cb8f1eeb2c339a1a8ed600cf0

## 参考
- http://codeception.com/docs/11-Codecoverage#Remote-CodeCoverage

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.