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

[Feature] #findOrCreate(). #2

Open
L-Evg opened this issue Jul 15, 2016 · 0 comments
Open

[Feature] #findOrCreate(). #2

L-Evg opened this issue Jul 15, 2016 · 0 comments

Comments

@L-Evg
Copy link
Contributor

L-Evg commented Jul 15, 2016

Implement #findOrCreate() which shall create entity(is) in target system if there is no entities needed where fetched.

UseCase:
For instance, there is no access to user accounts on Staging/PreProd environment or when you are working with prod DB dump.
You can create new user from tests but DataPool state will differ from real state. So, it'd be good to update DataPool accordingly - to add new user there as well. In this case further tests will be able to reuse this user if necessary.

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

1 participant