Codeception / Codeception/AspectMock

cacheDir cannot be omitted

Aperta
#181 1 commento 3 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
784
Fork
132
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.