
I'm running an appwrite instance using the docker installation and for database communication I use Java which works fine. For my software I want to write integration tests.
Usually with other databases I create a new container in Java using testcontainers and then I execute the tests. So to be clear what's happening is I run the tests, at the beginning a new container for the database is created and the tests use this container for the data to test. How can I implement integration tests for the appwrite database? I don't want to mess with the production database when testing.
Appreciate any help

You can do the same: spin up an Appwrite container. We do that in our integration tests.

Perfect thank you. Is there an example how you create a container for the tests on GitHub? I couldn’t find it

You could use the docker files here: https://appwrite.io/docs/advanced/self-hosting#manual
Recommended threads
- 404 error when navigating to the team fr...
the version i m running is `1.7.4` as far as i can tell everything is working fine except for this weird bug in the video. when monitoring the appwrite and app...
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
