You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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