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

[Testing] [WIP] Use Factory-Boy to Create Seed Data for Dev and Staging DBs #115

Closed
BethanyG opened this issue Mar 23, 2020 · 2 comments · Fixed by #129
Closed

[Testing] [WIP] Use Factory-Boy to Create Seed Data for Dev and Staging DBs #115

BethanyG opened this issue Mar 23, 2020 · 2 comments · Fixed by #129
Assignees

Comments

@BethanyG
Copy link
Member

This needs more detail, but I am logging this here so I don't forget it. Will update with detail shortly.

@chris48s
Copy link
Contributor

chris48s commented Apr 6, 2020

Now #116 is merged I'm happy to pick this one up. I think its pretty straightforward:

🏭 Write a management command to build some test data using factories
❌ Delete the fixture files
📚 Update the docs with how to init DB with test data

Are you happy for me to just run with it, or do you want to pair on this one too?

@chris48s chris48s self-assigned this Apr 6, 2020
@BethanyG
Copy link
Member Author

BethanyG commented Apr 7, 2020

Hey! Now I have emoji bullet envy. 😄

Every time I think of this issue, I get hung up on introducing some sort of "meaning" to the data...like I want to make it "pretty" for display, or have a set of "realistic" resources with related tags...or resources that would have different groupings for search....and that is probably not a good thing. I think my brain is just stuck on the fixtures that I use out of habit. 🙄

So YES YES - more than happy to have you take this up 🌈 Have fun playing with it.....and since you are doing it programmatically, it would be great to make a default batch of say 50+ or so ...or maybe even a configurable batch?

We may also want to do something like scrape tech related urls to select from..or not..there I go again. How about I back away slowly and let you get to work? Yup, that's what I should do. 😉

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

Successfully merging a pull request may close this issue.

2 participants