Skip to content

docs: add TESTING.md; trim duplicated test comments to pointers (#487) - #494

Merged
sjvans merged 2 commits into
developfrom
docs/487-testing-md
Aug 21, 2026
Merged

docs: add TESTING.md; trim duplicated test comments to pointers (#487)#494
sjvans merged 2 commits into
developfrom
docs/487-testing-md

Conversation

@sjvans

@sjvans sjvans commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

What

Consolidates the hard-won test-suite knowledge that was scattered (and duplicated) across test/** comment blocks into a single, authoritative top-level TESTING.md, then trims the duplicated in-file comments down to short pointers.

New TESTING.md covers:

Trimmed duplicated comments to pointers (comment-only, no logic change) in: tracing-scheduled, tracing-outboxed-batch, tracing-messaging-inboxed, tracing-messaging-persistent-outbox, tracing-messaging.js, tracing-mt, metrics-outbox-multitenant. The repeated cds.spawn on sqlite skip rationale, the shared-HANA-container outbox-bleed explanation, and the multitenancy Service-Manager note now live in TESTING.md; each site keeps a one-line pointer. Genuinely local rationale (timezone-bug explanation, per-test tree shapes, test/utils.js own doc comments) is left untouched.

README gets a one-line link to TESTING.md under the contributing section.

Notes

  • No lib/behavior change. Test-file edits are comment-only (verified: every changed line in test/** starts with //). No change to test logic, assertions, config, vitest.config.mjs, .cdsrc.json, the exporters/reader, or the Eliminate all test skips and CI test-subset exclusions (sqlite + HANA) #477 gated skip logic.
  • Full sqlite suite unchanged: 65 passed / 12 skipped.
  • oxfmt --check clean; changed files lint clean; grep -c int.repositories.cloud.sap package-lock.json = 0 (lockfile untouched).
  • No CHANGELOG entry (docs/test-only, not user-facing lib).

closes #487

@hyperspace-pr-bot

Copy link
Copy Markdown
Contributor

Summary

The following content is AI-generated and provides a summary of the pull request:


docs: Add TESTING.md and trim duplicated test comments to pointers

Documentation

📚 Consolidates scattered, duplicated test-suite knowledge from across test/** comment blocks into a single authoritative TESTING.md, then trims those in-file comments down to short one-line pointers.

Changes

  • TESTING.md (new): Single source of truth for the test suite covering:

  • README.md: Adds a one-line link to TESTING.md under the contributing section.

  • test/tracing-scheduled.test.js, test/tracing-outboxed-batch.test.js, test/tracing-messaging-inboxed.test.js, test/tracing-messaging-persistent-outbox.test.js: Multi-line skip rationale comments replaced with single-line pointers to TESTING.md → Sanctioned skips. Same for beforeEach outbox-clear comments.

  • test/tracing-messaging.js: afterAll settle block and beforeEach outbox-clear block comments reduced to one-line pointers referencing TESTING.md → sqlite vs HANA.

  • test/tracing-mt.test.js, test/metrics-outbox-multitenant.test.js: Multi-line Service Manager / HANA exclusion rationale trimmed to a single pointer line each.

⚠️ No logic changes. Every modified line in test/** is comment-only. Test assertions, config, vitest.config.mjs, .cdsrc.json, and skip conditions are all unchanged.

Jira Issues (ONLY add this section if JIRA issues are available)

Images and Links (ONLY add this section if the links are explicitly provided in the original content)

Related GitHub Issues: #475, #477, #486, #487, #488


  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.29.33

@hyperspace-pr-bot hyperspace-pr-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a clean, documentation-only PR. The changes are well-structured and accurate based on the code inspected. The TESTING.md content aligns with the actual implementation in test/utils.js, MyInMemorySpanExporter.js, MyInMemoryMetricReader.js, and the test files. The comment trimming in the test files correctly reduces duplication while preserving just enough context for readers to follow the pointer to TESTING.md.

No substantive issues were found — the logic in all modified test files is unchanged (comment-only edits as stated in the PR description), the TESTING.md accurately describes the infrastructure, and the README link is correctly placed.

PR Bot Information

Version: 1.29.33

  • Correlation ID: eaac1f50-9cd2-11f1-8aed-9dead314eb89
  • Event Trigger: pull_request.opened
  • File Content Strategy: Full file content
  • LLM: anthropic--claude-4.6-sonnet

Comment thread README.md Outdated
@sjvans
sjvans merged commit 057c829 into develop Aug 21, 2026
8 checks passed
@sjvans
sjvans deleted the docs/487-testing-md branch August 21, 2026 12:22
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.

1 participant