Skip to content

Configurable global environment for tests #1702

@SantiagoPittella

Description

@SantiagoPittella

Currently, some of our CLI tests rely on a global configuration environment. This has caused integration test failures because multiple tests end up sharing the same configuration file and database.

As a temporary workaround, I ensured that those specific tests run serially. However, this is not a long-term solution.

We should instead configure the global testing environment—ideally using a temporary directory—so tests are fully isolated and we don’t have to worry about shared state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the CLItestsImprovements to testing

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions