Skip to content

Establish self-contained integration test suite for registry-loader #138

Description

@jordanpadams

Summary

As registry operators and developers, we want a self-contained integration test suite for the registry-loader tools (harvest and manager) that does not require a live OpenSearch or registry-api stack, so that we can run meaningful tests in CI on every PR and write regression tests for specific metadata-processing bugs without full infrastructure setup.

The current test suite (tt/ packages) requires a live OpenSearch/registry-api instance, which makes CI fragile and prevents regression tests for bugs that involve specific OpenSearch response behaviors (throttling, 409 conflicts, partial bulk failures, etc.). This theme covers selecting and building an HTTP-mock-based test harness using Cucumber BDD, consistent with other PDS software repositories.

Sub-Tasks

  • Evaluate and select HTTP mock and Cucumber BDD framework for registry-loader integration tests
  • Build Cucumber + HTTP mock test harness for registry-loader with initial test coverage

For Internal Dev Team To Complete

⚙️ Engineering Details

🎉 Integration & Test

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

Type

Projects

Status
ToDo
Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions