cacheDir cannot be omitted
还没有人认领这个 Issue。
评估
调研方向
从 README.md 中的 cacheDir 部分开始,在不使用该设置的情况下运行测试并重现报告的问题。将文档中说明的可选行为与产生 Go! AOP 缓存目录错误的配置路径进行比较;当行为和文档对于是否可以省略 cacheDir 达成一致时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
It's stated in documentation that cacheDir setting can be skipped: https://github.com/Codeception/AspectMock/blob/master/README.md
cacheDira 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 intocacheDirpath.
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.
- 主要语言
- PHP
- 星标
- 784
- 派生
- 132
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Codeception/AspectMock 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 35/100
Codeception/AspectMock#208 · 2 条评论 · 5 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 25/100
Codeception/AspectMock#206 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Codeception/AspectMock#203 ·
-
难度 1/5 1 小时以内 新手友好度 35/100
Codeception/AspectMock#202 · 5 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
Codeception/AspectMock#201 · 1 条评论 ·
查看 Codeception/AspectMock 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Automattic/static-site-importer#1879 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
521xueweihan/HelloGitHub#3790 ·
-
Bug (unconfirmed) Good first issue 1️⃣ help wanted UI :art:
难度 2/5 1-3 小时 新手友好度 70/100
FreshRSS/FreshRSS#9360 · 2 条评论 ·
维护者通常 1 天内回复