project-chip / project-chip/matter-test-scripts

TC-SMOKECO-2.5: Automate

Open
#387 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

automation
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_5.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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the semi-automated test at src/app/tests/suites/certification/Test_TC_SMOKECO_2_5.yaml and compare it with the test plan in smco.adoc. Trace the existing test-script entry point, then use ClusterAttributeChangeAccumulator, wait_for_user_input, and send_test_event_triggers as specified. Done means the test is automated and its event triggers use the correct values.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.