LoganMeitz / votefinder

GNU General Public License v3.0
2 stars 2 forks source link

Create a dummy DB for easier testing #1

Open rjmagley opened 1 year ago

rjmagley commented 1 year ago

Right now the best way to get a DB for local development is to just give someone a copy of the existing DB, which is maybe... not great, for reasons.

We can create a SQLite DB to be provided as a separate download for testing purposes if necessary, also possibly to write unit tests against? The one concern that immediately comes to mind is that games are linked to forums, and doing stuff with those games wants to ping those forums, which is maybe non-ideal. Maybe a third "test" forum type, so test data doesn't try to hit up forums?

rjmagley commented 1 year ago

https://docs.djangoproject.com/en/dev/topics/db/fixtures/ were mentioned as something that might be useful here, but this is actually a Django feature I'm not well-versed in.