Replies: 1 comment 1 reply
-
I think the bottom line here is that local tests and development - both in accordance with the usage described in the Readme docs - use the same db. So you can't work with the app locally and run tests without wiping out all your progress. It seems like there's no way I'm the only one who's encountered this and it makes local dev kind of untenable so I'm hoping I'm just overlooking some obvious config of where I need to be setting |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
Running tests locally in the way described and recommended by the docs in the readme wipes out all the data from my database (running via docker compose)
copier
per readmedocker compose up
per readme - At this point everything works and you can add items to the db via the client app or the Open Api doc. You can connect to the local db (running in docker) and see the changes.bash ./scripts/test.sh
per readmeWhen you run docker compose up again, you'll notice that all the records you created are gone because the tests use the same db.
Operating System
macOS
Operating System Details
Macbook M1
Python Version
3.10
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions