How should we do automation testing for parse server API?

If I have defined all the classes or have added new classes, how should we do automation testing for parse server related to those classes (including CRUD)? Thanks a lot.

Hard to answer, it depends on what you want to achieve?

1 Like

I am not sure if you need to test each class operations (since parse server has itself automated tests for the auto-generated apis), but you can maybe fetch the schema and check if it is according to the application needs.

1 Like

I normally use the test suite in the example project, and duplicate data / schema in a beforeAll hook from my existing server to make sure the data is accurate.

1 Like