Skip to content

test: annotate use-case tests with covered SPINE test-spec case#254

Open
andig wants to merge 1 commit into
enbility:devfrom
andig:docs/testspec-coverage-comments
Open

test: annotate use-case tests with covered SPINE test-spec case#254
andig wants to merge 1 commit into
enbility:devfrom
andig:docs/testspec-coverage-comments

Conversation

@andig

@andig andig commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Makes SPINE test-spec coverage explicit at the use-case layer: adds // TC_SPINE_RTS_003 reference comments to the existing use-case tests that exercise the requirement. Comment-only — no behavior or assertion changes; the annotated packages stay green.

Annotated

TC_SPINE_RTS_003 — subscribe only to the required server feature of the client entity that actively created the binding, ignoring other available client entities:

Test
usecases/usecase/events_test.go Test_useCaseDataUpdate (per-entity scenario deduction primitive)
usecases/cs/lpc/events_test.go Test_multipleDeviceDiagServer (most literal cover)
usecases/cs/lpp/events_test.go Test_multipleDeviceDiagServer (LPP side)

Most SPINE protocol TCs are covered in spine-go (see enbility/spine-go); this repo's use-case tests cleanly cover RTS_003. RTC_003 is handled separately in #253.

🤖 Generated with Claude Code

Add reference comments to the existing use-case tests that cover the
SPINE TC_SPINE_RTS_003 requirement (subscribe only to the server feature
of the client entity that created the binding, ignoring other client
entities). Comment-only; no behavior or assertion changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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