Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Parse Server instance for testing to CI #408

Open
mtrezza opened this issue Feb 2, 2025 · 3 comments
Open

Add Parse Server instance for testing to CI #408

mtrezza opened this issue Feb 2, 2025 · 3 comments
Labels

Comments

@mtrezza
Copy link
Member

mtrezza commented Feb 2, 2025

Issue

Tests here are mocked, as no Parse Server instance is running to test against it. This is not optimal:

  • requires more effort to write tests
  • mocked server behavior may be inaccurate / outdated
  • CI does not run against specific version of Parse Server

Suggested Solution

  • Set up CI to spin up a Parse Server instance for the current version of Parse Server plus the LTS version.
  • Add server test logic to test setup (data cleaning between tests, etc).
  • Add Parse Server compatibility matrix to README.

CI example: https://github.com/parse-community/parse-server-s3-adapter/blob/master/.github/workflows/ci.yml

Copy link

Thanks for opening this issue!

@YBTopaz8
Copy link
Member

This will be superb when integrating Live Queries.

Pretty good for release , I'm only in need of UnitTests so as to do a PR

@mtrezza
Copy link
Member Author

mtrezza commented Feb 17, 2025

If you would like, you could open a PR and use the CI link above as a guideline for how to set this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants