project-chip / project-chip/matter-test-scripts
TC-SMOKECO-2.6: Automate
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 19
- Forks
- 7
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 3
Description
Suggest converting to python and using ClusterAttributeChangeAccumulator class for subscriptions, use wait_for_user_input to handle steps that require device interactions
Use send_test_event_triggers for test event triggers. Update test event triggers to use the correct values.
Test is currently semi-automated here: https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/certification/Test_TC_SMOKECO_2_6.yaml
test plan: https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/smco.adoc
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 comparing the semi-automated test in src/app/tests/suites/certification/Test_TC_SMOKECO_2_6.yaml with the smco.adoc test plan. Trace the Python subscription flow using ClusterAttributeChangeAccumulator, wait_for_user_input for device interactions, and send_test_event_triggers for event triggers. Done means the test is automated and uses the correct trigger values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100