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

Use database seeding to make testing/QA more efficient #39

Closed
etrepum opened this issue Aug 24, 2019 · 1 comment
Closed

Use database seeding to make testing/QA more efficient #39

etrepum opened this issue Aug 24, 2019 · 1 comment

Comments

@etrepum
Copy link
Member

etrepum commented Aug 24, 2019

Follow-up to conversations that were had in #35

We should have a way to get a new QA instance up and running correctly in one step. This should sync any relevant data from the sandbox salesforce so that creating classes and other objects will work. It should likely also create at least one user of each type and one row of each model so that all of the app can be walked through without a minimal amount of manual steps.

Looks like django has a way to do this with fixtures https://docs.djangoproject.com/en/2.2/howto/initial-data/ and there are also third party libraries available such as https://pypi.org/project/django-seed/

A migration is not the best way to go, as that runs in all environments (and only once), we want something that we can initiate only for testing purposes.

@etrepum
Copy link
Member Author

etrepum commented Aug 29, 2019

This should be sufficiently resolved by #42

@etrepum etrepum closed this as completed Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant