Skip to content

explore TestConatiners to avoid differences beteween test and prod environments in db #136

Open

Description

@goncalopinto1

Testcontainers — sobe um Postgres real, efémero, dentro de um container Docker, automaticamente antes dos testes correrem, e destrói-o no fim. Tens o motor real, sem teres de gerir nada à mão, e o CI só precisa de Docker disponível (GitHub Actions/GitLab já suportam isto nativamente via "service containers", inclusive).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions