
We use TypeScript both on the front end and the server functions. We come from the world of Ruby on Rails and Clean Code development and are used to unit tests. So we implemented them here. too. However, it turned out that this involves a lot of manual mocking. While this works, it seems like a huge overhead which could be abstracted away if some kind of emulator for Appwrite would be provided. Is there any such implementation? I think of something like the Firebase Local Emulator Suite (see: https://firebase.google.com/docs/emulator-suite).
At the moment we use Vitest.

you could spin up an appwrite instance to test against
Recommended threads
- Database Double Requesting Error.
I am getting error for creating new document in an collection with new ID.unique() then too getting error of existing document. When button is pressed one docum...
- Appwrite functions can't connect to data...
I'm trying to create a function that queries my database, but all database operations timeout from within the function, even though CLI access works perfectly. ...
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
