Skip to content

test: backend unit-test coverage (689 cases across 14 packages)#6255

Open
mariana-andruk-qa wants to merge 1 commit into
hashgraph:developfrom
mariana-andruk-qa:test/be-unit-coverage
Open

test: backend unit-test coverage (689 cases across 14 packages)#6255
mariana-andruk-qa wants to merge 1 commit into
hashgraph:developfrom
mariana-andruk-qa:test/be-unit-coverage

Conversation

@mariana-andruk-qa

Copy link
Copy Markdown

What

Adds 689 backend unit tests across 14 packages (common, interfaces, guardian-service, policy-service, api-gateway, auth-service, worker-service, analytics-service, ai-service, topic-listener-service, notification-service, queue-service, logger-service, application-events), using the existing mocha + esmock harness already present in the repo (same dist/-import pattern as the current common/tests suite).

Tests and test-script wiring only — no source changes.

Validation

Each test was validated by building the service and running it individually against current source; only tests passing green are included.

Per-package: common 175, api-gateway 115, guardian-service 94, policy-service 67, interfaces 161, auth-service 19, worker-service 14, analytics-service 13, ai-service 10, topic-listener-service 7, notification-service 7, logger-service 4, queue-service 3.

Harness

Adds mocha test scripts to interfaces, ai-service, logger-service, notification-service, and topic-listener-service (they had none). Run a package's suite with yarn --cwd <package> test after building it.

Adds backend unit tests across 14 packages using the existing mocha+esmock
harness (same dist-import pattern as the current common/tests suite). Tests
and test-script wiring only; no source changes.

Each test was validated by building the service and running it individually;
only tests passing green are included. Per-package: common 175, api-gateway
115, guardian-service 94, policy-service 67, interfaces 161, auth-service 19,
worker-service 14, analytics-service 13, ai-service 10, topic-listener 7,
notification 7, logger 4, queue 3.

Adds mocha test scripts to interfaces, ai-service, logger-service,
notification-service, topic-listener-service.
@mariana-andruk-qa mariana-andruk-qa requested review from a team as code owners June 19, 2026 14:46
@Pyatakov Pyatakov self-assigned this Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants