
What is the general idea of a testing strategy or story both for Appwrite Web apps and server functions? Only really found one Article that suggested mocking Appwrite.

Honestly, mocking is the easy way around performing test with the SDK. That being said, what I do is create 2 projects when building an app.
I'm not saying it's optimal, but it's what I started doing and it works lol
I use one project for the actual development, and the other with fake data for testing. It requires a lot of manual work to set up a testing environment, but you should be able to create a function that just clones a project on-demand.

I suggest a local or dev Appwrite instance

[CLOSED] Testing Strategy / Story

Mocking is the way I went down and it works. However, I feel it creates quite the overhead.
Recommended threads
- 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...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
- JSON and Object Support in Collection do...
I am working with Next.Js and Appwrite Cloud, I am relatively New to Appwrite but i have noticed there is no direct support of JSON and Object support in attrib...
