Skip to content

Expand integration test coverage for WS commands #415

@markvp

Description

@markvp

Problem

Only ~5 of ~40+ WS commands have integration test coverage. Most handlers are untested end-to-end:

  • device_command, read_attribute (beyond basic), ping_node
  • get_matter_fabrics, remove_matter_fabric
  • set_acl_entry, set_node_binding
  • check_node_update, update_node
  • discover_commissionable_nodes
  • set_default_fabric_label
  • get_loglevel, set_loglevel
  • Error cases (InvalidArguments, NodeNotReady, NodeNotExists)

The existing integration tests also have pre-existing failures on Windows (BigInt conversion issue cascading from commissioning).

Proposal

Systematically expand IntegrationTest.ts to cover all command handlers, including both success and error paths.

Labels: testing, enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions