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

python framework: Get rid of steps_ functions

Open
#542 2 comments 0 reactions 1 assignee View on GitHub

@jtrejoespinoza-grid is already working on this.

Since May 5, 2025.

Dominant language
Python
Stars
19
Forks
7
Avg merge
3d 17h
Merged PRs (30d)
3

Description

Everyone hates these. They make it hard to write tests because the instructions are separate from the code. This was put in place originally because the TH team wanted to be able to determine what the test steps were before the test started, but they're not actually CALLING these methods, so this is useless anyway.

We need to find a way to move the test steps into the test itself and ideally to maintain the ability to extract the test steps out to an adoc file.

I would argue that given that some tests ALREADY lazy-load the test steps, the best solution here is to re-negotiate the requirements from the TH team and provide the test steps in the runner hooks. This work will require some front-end work, that the TH team cannot do themselves. You will need to work with the TH team and the ATLs to understand what is necessary and what is a nice-to-have.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.