Codeception / Codeception/module-rest
Trying to get coverage report
- Lenguaje dominante
- PHP
- Estrellas
- 60
- Forks
- 30
- Merge medio
- 22 h 37 min
- PR fusionados (30 d)
- 1
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- php
- Área
- api, testing
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100