Skip to content

test(e2e): add multi-configuration emulator fixture #333

Description

@groupsky

Background

Currently, E2E tests for discover filters use the default test fixture which may have a single baud rate/parity configuration. To fully validate that filters correctly reduce the search space, we should test against devices with known configurations.

Proposal

Create a dedicated emulator fixture with multiple known configurations:

  • Device 1: ID=1, 9600 baud, none parity
  • Device 2: ID=2, 19200 baud, even parity
  • Device 3: ID=3, 9600 baud, odd parity

This would allow E2E tests to verify:

  • --baud-rate 9600 finds only devices 1 and 3
  • --parity even finds only device 2
  • --id 1-2 --baud-rate 9600 finds only device 1
  • Combined filters correctly reduce combinations

Benefits

  • More robust E2E validation
  • Documents expected behavior
  • Catches regressions in filter logic

Related

PR #332 - discover command filters

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions