project-chip / project-chip/matter-test-scripts
TC-IDM-??: Add a test for bitmaps - Node-wide attribute constraint verification (bitmaps)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 19
- Forks
- 7
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 3
Description
Sure, we could do a universal test for conformance, but there's a REALLY easy win here and we can start small.
Let's start with an IDM test that does this:
for each bitmap attribute on each endpoint:
verify that the set masks are part of the data type and the rest of the values are 0
This works for every bitmap except this one crazy one in doorlock that's backwards.
The data types are parsed in the data model files now, so this should hopefully be a relatively simple test that makes use of the new data type parsing and also is expandable in the future to other data types
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 by inspecting the data model files and existing IDM tests that parse data types. Implement coverage for bitmap attributes on each endpoint, excluding the noted backwards doorlock bitmap, and verify that set masks belong to the data type while remaining values are zero; done when the test runs across all applicable attributes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100