project-chip / project-chip/matter-test-scripts
IDM-10.4: Add PICS checks for events based on conformance and overrides
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 19
- Forks
- 7
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 3
Description
We have parsing for XmlEvent conformance in the clusters (https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/matter_testing_infrastructure/matter/testing/spec_parsing.py#L174), but don't check it in IDM-10.2 because the device doesn't expose event information.
We could do this in IDM-10.4 based on the PICS. It's far from ideal, but it's what we have.
Note that I haven't actually parsed out the event element overrides for device types (https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/matter_testing_infrastructure/matter/testing/spec_parsing.py#L195) because I couldn't do anything with them, but we could do the same thing there.
Cluster conformance would be similar to this, but with PICS: https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/test_testing/DeviceConformanceTests.py#L193
Device type overrides would be similar to this check, but against the PICS: https://github.com/project-chip/connectedhomeip/blob/master/src/python_testing/test_testing/DeviceConformanceTests.py#L423
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with spec_parsing.py around the XmlEvent conformance parsing at lines 174 and 195, then compare the PICS-based cluster check in DeviceConformanceTests.py around line 193 and the device type override check around line 423. Implement IDM-10.4 checks for event conformance and device type overrides using PICS, and verify the relevant conformance tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100