Regex pattern matching is included to match the execution log from console to return test result in automation. Also add fixture to identify the external sensor connected for automation framework to trigger test cases on particular board which is connected with required sensor. Signed-off-by: Spoorthi K <spoorthi.k@intel.com>
15 lines
328 B
YAML
15 lines
328 B
YAML
sample:
|
|
name: HTS221 Temperature and Humidity Monitor
|
|
tests:
|
|
test:
|
|
harness: console
|
|
tags: sensors
|
|
depends_on: i2c hts221
|
|
harness_config:
|
|
type: multi_line
|
|
ordered: yes
|
|
regex:
|
|
- "Temperature: (.*)"
|
|
- "Relative Humidity: (.*)"
|
|
fixture: fixture_i2c_hts221
|