Skip to content
This repository has been archived by the owner on May 27, 2023. It is now read-only.

Dynamic fixtures - new feature request #223

Open
marcinrogacki opened this issue Sep 30, 2014 · 0 comments
Open

Dynamic fixtures - new feature request #223

marcinrogacki opened this issue Sep 30, 2014 · 0 comments

Comments

@marcinrogacki
Copy link

Exmaple usage:

/**
 * @test
 * @loadFixture myCustomizableStore
 * @dataProvider customizableStoreLocaleFixturesDataProvider
 */
public function my_test($fixture)
{
    $this->loadFixture($fixture);
}

pubic function customizableStoreLocaleFixturesDataProvider()
{
    return [
        [ 'localeOne' ],
        [ 'localeTwo' ],
    ];
}

Is it doable? Might be already available? Might be some tips where to start to implement such feature?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant