Skip to content

cacheDir cannot be omitted #181

@alekseykuleshov

Description

@alekseykuleshov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions