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

Create dummy database via script #1237

Closed
ethan-nelson opened this issue Oct 17, 2018 · 4 comments
Closed

Create dummy database via script #1237

ethan-nelson opened this issue Oct 17, 2018 · 4 comments

Comments

@ethan-nelson
Copy link
Contributor

Right now when someone installs TM3 locally, there is no database for someone to use in testing and development. Let's make a script that generates:

  1. A project with TM generated grid and a project with an uploaded geometry of irregular shape
  2. Four users, two who are validators
  3. A variety of history including mapping and unlocking with/without comment, mapping and marking mapped with/without comment, validating and unlocking with/without comment, validating and marking invalid with/without comment, and marking bad imagery and validation/invalidation.
@ethan-nelson
Copy link
Contributor Author

We should also include a test project for new production installs (without all the activity).

@xamanu
Copy link
Contributor

xamanu commented May 9, 2019

@ethan-nelson, do you think we need this? Or can we consider this is covered by the unit tests and the testing database that was added recently in #1453.

@ethan-nelson
Copy link
Contributor Author

I'm still leaning towards having a database created from scratch using a script (similar to a migration), but that may just be an irrational desire :). My thought is that with well established actions and orders of actions, we could ensure that actions dependent on other actions are properly cascaded, executed in order, etc. Perhaps that can just be achieved in unit tests.

@xamanu
Copy link
Contributor

xamanu commented Feb 19, 2020

For now, we included a base database for testing in the code base.

@xamanu xamanu closed this as completed Feb 19, 2020
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

2 participants