Codeception / Codeception/AspectMock
cacheDir cannot be omitted
- Lenguaje dominante
- PHP
- Estrellas
- 784
- Forks
- 132
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
It's stated in documentation that `cacheDir` setting can be skipped: https://github.com/Codeception/AspectMock/blob/master/README.md
------
* `cacheDir` a dir where updated source PHP files can be stored. If this directory is not set, proxie classes will be built on each run. Otherwise all PHP files used in tests will be updated with aspect injections and stored into `cacheDir` path.
------
Although when I don't specify it, I getting the error running the tests:
```
Fatal error: Uncaught RuntimeException: You need to provide valid cache directory for Go! AOP framework.
```
What do I do wrong? Or if it's really required and cannot be omitted, the documentation should be updated.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start with the cacheDir section in README.md and reproduce the reported failure while running the tests without that setting. Compare the documented optional behavior with the configuration path that produces the Go! AOP cache-directory error; done means the behavior and documentation agree about whether cacheDir may be omitted.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- php
- Área
- testing
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 32/100