Codeception / Codeception/module-rest
Trying to get coverage report
- Linguagem predominante
- PHP
- Estrelas
- 60
- Forks
- 30
- Merge médio
- 22h 37min
- PRs com merge (30d)
- 1
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- php
- Domínio
- api, testing
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100