View on GitHub

qc-atlas

Platform for Sharing Quantum Software

Use Postgres database for service tests

Context and Problem Statement

To ensure high test coverage within the project, functionalities that interact with the database must be tested as well. There are different approaches to testing these functionalities that require a database running.

Considered Options

Decision Outcome

Chosen option: “Use Production-like Postgres database”, because it ensures a production-like behavior.

Positive Consequences

Pros and Cons of the Alternatives

In-Memory Database

PostgreSQL for testing