Skip to content

feat(scenarios): add firmware update success scenario#133

Open
YANGCHUNHONG3000 wants to merge 1 commit into
ocpp-debugkit:mainfrom
YANGCHUNHONG3000:feat/firmware-update-success-scenario
Open

feat(scenarios): add firmware update success scenario#133
YANGCHUNHONG3000 wants to merge 1 commit into
ocpp-debugkit:mainfrom
YANGCHUNHONG3000:feat/firmware-update-success-scenario

Conversation

@YANGCHUNHONG3000

Copy link
Copy Markdown

Add a new scenario to verify that a station undergoing a successful firmware update does not trigger any false positives:

  • expectedFailures: [] — The trace describes a clean firmware update flow (BootNotification → FirmwareStatusNotification(Dowloaded) → FirmwareStatusNotification(Installed) → Heartbeat), which should not trigger any detection rule.
  • assertions: [{ type: 'no_failures', params: {} }] — Verifies that no failures are detected, acting as a regression guard against overly aggressive detection rules.
  • tests/external-fixture/test.mjs was also updated (line 161: 1516) because it has a hard-coded scenario count assertion.
  • All 520 tests pass (19 test files).

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