-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
from my understanding, we always have to define our fixture in a separate class,
what i would really like is to define the fixture data inside my test function, (maybe not always but at least sometimes)i really like the idea of having a tight coupling between a test and the specific data it requires, to avoid creating some kind of global state that will be likely to break at scale.
Is there any way to achieve that with your lib ? something like
$this->databaseTool->loadFixturesInline(function(){ //define fixture code here... });
Originally posted by @vulkanosaure in #64 (comment)
Metadata
Metadata
Assignees
Labels
No labels