Skip to content

test: add integration tests with MongoDB #39

Closed

Description

@uniqueg

Why?

The repo has unit tests with mocks (#32), a smoke test, and an end-to-end upgrade test (#36), but no integration tests of the API with a real database.

How?

Follow cloud-registry: the same tests in a CI matrix, with mongomock and with MongoDB (MONGODB_TEST_URI), and API tests through the app with response validation on. Unit tests that clone a public repository from GitHub use a local repository instead.

Acceptance criteria

  • Registering, publishing and notifying are tested through the API against MongoDB in CI.

Activity

  1. added
    priority: low
    status: triage
    type: testing
    workload: hours
    on Nov 5, 2026
  2. added
    status: in progress
    and removed
    status: triage
    on Nov 7, 2026
  3. removed
    status: in progress
    on Nov 7, 2026
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

    priority: lowtype: testingworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions