Rank 2: Process
Hi there,
I’ve been trying to setup a test environment for my project to support tests at all levels of the test pyramid including unit, integration and end to end tests.
After doing some research I have to spin up a local appwrite instance for my tests. I’ve managed to spin up the local instance. However, I’m having some concerns with how the setup and teardown of the testing environment.
There is no way for me to create an admin user, organisation, project and project api key (with scopes) so that I can the server sdk except through the console ( user interface ).
Therefore, I’d like to inquire whether there’s any way to automate this because it would be handy during setup and teardown of my test environment.
If that cannot work, I’d like an alternative approach.
I've done some research about the console SDK but unfortunately it isn't available for appwrite