Skip to content

Commit

Permalink
YAML documentation: node id and endpoint defaults (#32756)
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille authored Mar 27, 2024
1 parent ce7d1d1 commit fe889bd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/testing/yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,11 @@ All YAML tests assume that the DUT has previously been commissioned before
running. DUTs should be commissioned using chip-tool. Use the same KVS file when
running the test.

By default, the tests use node ID 0x12344321. The easiest way to run the tests
is to commission with this node ID. Alternately, you can change the target node
ID on the command line, as shown in the [Running the tests](#running-the-tests)
section.

#### Running the tests

There are several options for running tests locally. Because the YAML runner
Expand Down Expand Up @@ -338,6 +343,10 @@ with --
```

Each test defines a default endpoint to target. Root node cluster tests run
against endpoint 0 by default. Most other cluster tests run against endpoint 1.
You can set the endpoint for the test using the `endpoint` config variable.

#### Factory resetting the DUT

On the host machine, you can simulate a factory reset by deleting the KVS file.
Expand Down

0 comments on commit fe889bd

Please sign in to comment.