Releases: MyTooliT/ICOtest
Version 0.8.1
Package
- Require ICOtronic 6.5
CI
- Enable Python
3.14build jobs
Test
- Fix upload of multiple firmware files
Version 0.8
Test
-
Use anyio auto mode
-
Add sensor node test to print Base64 encoded MAC address (used as Bluetooth name) and then renames the node to this name:
icotest run -k 'sensor_node and base64' -
We now store the sensor node name in the metadata of the test for the Base64 encoded MAC address. To produce the JSON metadata, please add the option
--json-reportto the test command:icotest run --json-report -k 'sensor_node and base64'After this command finished successfully there should be a file
.report.jsonin the current working directory that stores the name in an object with the keySensor Node Name. For the example above you can print the name using the followingyqcommand:yq '.tests[0].metadata.["Sensor Node Name"]' .report.json -
Add support for uploading multiple flash images via the configuration values:
sensor node→firmware→locationsandSTU→firmware→locations.
Please note that we changed the configuration key from the singular
locationto the plurallocationsto reflect thatlocationscontain a list instead of a scalar value (likelocationused to)!If you want to adapt the user configuration for your target and you enabled merging with
dynaconf_merge: truein your user configuration file, then please do not forget to setdynaconf_merge: falsefor the locations value:dynaconf_merge: true # … sensor node: firmware: dynaconf_merge: false # … locations: - filepath_first_firmware_image.s37 - filepath_second_firmware_image.s37
Otherwise the default locations and your configuration values will be merged instead of overwritten.
-
Add support for changing the sensor node when using
icotest runvia the option-nor--name
Version 0.7
Test
- Use anyio for async tests
- Explicitly mark async tests with
@mark.anyio, since otherwise they would not run correctly reporting an error about an async fixture with no plugin that handles it - Use fixed pytest version
Version 0.6
Test
Sensor Node
-
Add test for power usage in:
- disconnected and
- connected
state
STH
- Add tests for:
- accelerometer self test
- stationary acceleration value
- ratio of noise to maximum value
Version 0.5
Test
General
- Add EEPROM test for STU, sensor node and STH
Sensor Node
- Add firmware upload test
Version 0.4
Config
- Automatically open user configuration file, if there are any config problems
Test
STU
- Add EEPROM test
Version 0.3
Version 0.2
Version 0.1
General
- Initial release
- Use Sphinx for documentation
- Add “Read the Docs” documentation