This release adds a lighting brightness RPC endpoint to Matter example lighting app controllers, allows per-device test flakiness configuration via functional test configs, open-sources all unit test utilities along with Switchboard and Auxiliary device unit tests, and adds unit test documentation.
New features:
- Added lighting brightness RPC for Matter example apps
Functional test changes:
- Added ability to retry flaky on-device tests on specific device types
- Replaced test retry decorators with marking tests as "volatile" in configs
- Updated external gazootest.py fork (now split into gazootest.py and gazoo_input.py)
- Removed "no unexpected reboot" verification from CommonTestSuite
Bug fixes and cleanup:
- Removed extra data printed with ndm port_map.
- Pigweed RPC cleanup.
Unit tests:
- Moved unit_test_suite.py to general "tests" directory
- Removed import_test.py
- Open-sourced unit tests for gazoo_device/auxiliary_devices/* modules
- Open-sourced fake_device_base_class
- Updated and open-sourced communication_types unit tests
- Added instructions for running GDM unit tests
- Moved ability to skip slow unit tests into GDM unit test suite
- Open-sourced Switchboard unit tests other than communication_types_test.py
- Used unit test base class for existing unit tests and renamed tests from test_* to *_test
- Open-sourced unit test base class
- Open-sourced common mocks used by unit tests
- Open-sourced fake_gazoo_device_base