Codeception / Codeception/module-rest
Trying to get coverage report
- 主要言語
- PHP
- スター
- 60
- フォーク
- 30
- 平均マージ
- 22時間 37分
- マージ済み PR(30日)
- 1
説明
Hi,
It seems that using the Rest module with Phpbrowser does not work for 'coverage'
Example running `bin/codecept run --coverage --coverage-xml --coverage-html` :

Here is the config of `api.suite.yml` :
```
class_name: ApiTester
coverage:
enabled: true
remote: true
remote_context_options:
http:
timeout: 60
ssl:
verify_peer: false
modules:
enabled:
- Asserts
- Symfony:
kernel_class: App\Kernel
app_path: 'src'
environment: 'test'
- REST:
depends: PhpBrowser
- Doctrine2:
depends: Symfony
cleanup: true
```
We are mainly using the `send()` method of the `ApiTesterActions`.
We followed the doc here : https://codeception.com/docs/11-Codecoverage
We also followed the instructions to installed the `c3.php` file (https://github.com/Codeception/c3)
What are we missing ?
Thanks in advance for your help,
Julien
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start with the coverage command and the api.suite.yml configuration, then compare the REST module's send() usage with the Codeception code coverage documentation and the installed c3.php setup. Reproduce the reported failure using bin/codecept run --coverage --coverage-xml --coverage-html and determine which configuration or integration prevents the report from being generated.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- api, testing
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100