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

Create a mongo dump for use in CI for predictable assertions and testing #68

Open
cgpu opened this issue Sep 3, 2021 · 0 comments
Open

Comments

@cgpu
Copy link
Contributor

cgpu commented Sep 3, 2021

@eBsowka we were discussing with @hms1 about the newly added functionalities.
A main struggle with assertions if using a demo env is the volatility of the app and the collections.

We have attempted in the past to use a mongo db to connect to with success that is created on the fly in the CI with mongo dumps. In this scenario, we would need to take it a step further, where we have an instance of CB running that we have full control of, and for the test we would

  1. purge all collections available
  2. resurrect with the db that we have saved from the dumped collections

This would reassure us that we are not breaking anything in the package without having to account for CB app unpredictable changes.

This is low priority for now, but keeping it as we have committed to ensure reproducibility for mongo related CI tests.

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

No branches or pull requests

1 participant