Skip to content

Add protocol conformance test suite#633

Merged
gijzelaerr merged 1 commit intomasterfrom
feature/conformance-tests
Mar 20, 2026
Merged

Add protocol conformance test suite#633
gijzelaerr merged 1 commit intomasterfrom
feature/conformance-tests

Conversation

@gijzelaerr
Copy link
Owner

Summary

  • Adds 70 protocol conformance tests validating TPKT, COTP, and S7 protocol encoding at byte level
  • Tests cover: header format, PDU structure, function codes, area codes, word length codes, request/response encoding, return codes, TPDU sizes
  • Adds conformance pytest marker to pyproject.toml

Closes #620

Test plan

  • 70 tests pass (tests/test_conformance.py)
  • All tests validate against protocol specification byte values
  • mypy strict mode passes
  • ruff check/format passes

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Adds 70 tests validating TPKT, COTP, and S7 protocol encoding against
the specification at byte level.
Closes #620

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gijzelaerr gijzelaerr mentioned this pull request Mar 19, 2026
10 tasks
@gijzelaerr gijzelaerr merged commit 108a107 into master Mar 20, 2026
37 checks passed
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.

Protocol conformance test suite

1 participant