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
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...