Closed wapmorgan closed 2 years ago
I think, expected behavior for loading fixtures with cleanap = false
is:
@wapmorgan yes, your proposed behavior is better than current one, I think.
Want to implement the change?
This seems to have been an attempt to make loadFixtures
idempotent. Which isn't needed...
Edit: I'm hesitant to change this though, since the property is public anyone could depend on this behavior. To be honest, I'm not using fixtures in my code and don't really see their benefit; but that also means that I have little experience with this part of the code.
Seeing as this has been open for almost 2 years I'm gonna go ahead and close it.
If I set
cleanup
to false (to speed-up testing), this method does not load fixtures:I think that
$this->loadedFixtures
is not empty after first fixtures loading in earlier test, and when codeception goes to another test, it does not load fixtures for it.