を合併していない:あなたはカバレッジは0%Codeceptionリモートカバレッジが、私はCodeceptionの受け入れテストを実行し、結果を得る
で見たよう
をそれから私は_output /受け入れからブラウザでのカバレッジ結果を開きます。 remote.coverage/index.htmlをと参照合計カバレッジ81.13パーセント
質問には、カバレッジ結果がマージされず、コンソールに印刷されない理由があります。すべてのメソッドをカバーするためにユニットテストを書く必要がありますか?ラン・テストコマンドを
actor: Tester
paths:
tests: tests
log: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
settings:
bootstrap: _bootstrap.php
colors: true
memory_limit: 1024M
coverage:
enabled: true
c3_url: http://127.0.0.1:4444
remote: true
whitelist:
include:
- src/*
exclude:
- tests/*
extensions:
enabled:
- Codeception\Extension\RunFailed
acceptance.suite.yml
class_name: AcceptanceTester
modules:
enabled:
- PhpBrowser:
url: http://127.0.0.1:4444
- \Helper\Acceptance
codeception.yml
バージョン
Codeception PHP Testing Framework v2.2.2
Powered by PHPUnit 5.4.6 by Sebastian Bergmann and contributors.
同じ問題がありました。http://codeception.com/docs/11-Codecoverage#remote-serverを参照してください。 – fehrlich