Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment dependent loading #169

Open
kitingChris opened this issue Feb 6, 2015 · 4 comments
Open

Environment dependent loading #169

kitingChris opened this issue Feb 6, 2015 · 4 comments

Comments

@kitingChris
Copy link

A possibility to constrain the loading of fixtures to specific environments would be nice.
I just need for the test environment different fixtures than in the others.

@lavoiesl
Copy link
Member

Couldn’t you just create a custom script that would do that since loading specific files’ fixtures is supported since #175?

@lavoiesl lavoiesl added this to the 1.1 milestone Mar 22, 2015
@kitingChris
Copy link
Author

Well that might be possible but a possibility to define conditions on the execution of the datafixtures would be better.

Some kind of abstract method that returns true and gives the opportunity to define in the method body the logic to check against wether the fixture will be executed or skipped.

@lavoiesl
Copy link
Member

What about fixture grouping? #140

@kitingChris
Copy link
Author

mh that looks quite promising...

But also maybe my last suggestion might be a helpful feature in future releases.

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

No branches or pull requests

3 participants