Skip to content

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

@cgpu

Description

@cgpu

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions