Codeception / Codeception/AspectMock
Remove temp created files?
- Dominant language
- PHP
- Stars
- 784
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
Is there any to remove temp created files? It is being generated in the path we defined in _bootstrap file.
$kernel = \AspectMock\Kernel::getInstance();
```
$kernel->init([
'debug' => true,
'cacheDir' => __DIR__ . '/../tests/tmp',
'includePaths' => [__DIR__ . '/../vendor/laravel', __DIR__ . '/../app'],
]);
```
Using Codeception and lumen
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the _bootstrap file and the Kernel initialization that sets cacheDir to tests/tmp. Reproduce the Codeception and Lumen test setup to identify which temporary files are created and when. Done means the expected cleanup behavior is established and verified without disrupting the test run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100