Skip to content

Releases: MyTooliT/ICOtest

Version 0.8.1

03 Mar 09:46
11b1b2c

Choose a tag to compare

Package

CI

  • Enable Python 3.14 build jobs

Test

  • Fix upload of multiple firmware files

Version 0.8

12 Feb 15:17
68a862d

Choose a tag to compare

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-report to the test command:

    icotest run --json-report -k 'sensor_node and base64'

    After this command finished successfully there should be a file .report.json in the current working directory that stores the name in an object with the key Sensor Node Name. For the example above you can print the name using the following yq command:

    yq '.tests[0].metadata.["Sensor Node Name"]' .report.json
  • Add support for uploading multiple flash images via the configuration values:

    • sensor nodefirmwarelocations and
    • STUfirmwarelocations.

    Please note that we changed the configuration key from the singular location to the plural locations to reflect that locations contain a list instead of a scalar value (like location used to)!

    If you want to adapt the user configuration for your target and you enabled merging with dynaconf_merge: true in your user configuration file, then please do not forget to set dynaconf_merge: false for 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 run via the option -n or --name

Version 0.7

04 Dec 14:35
20b0b16

Choose a tag to compare

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

22 Oct 14:48
ba8910f

Choose a tag to compare

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

21 Oct 12:37
0399db4

Choose a tag to compare

Test

General

  • Add EEPROM test for STU, sensor node and STH

Sensor Node

  • Add firmware upload test

Version 0.4

20 Oct 12:39
2e6a5e0

Choose a tag to compare

Config

  • Automatically open user configuration file, if there are any config problems

Test

STU

  • Add EEPROM test

Version 0.3

15 Oct 12:43
49e0657

Choose a tag to compare

CI

  • Add Python 3.14 to code check workflows

Development

  • Use uv instead of Poetry for development

Package

  • Add dynaconf and pytest-asyncio to general requirements

Tests

  • Add first STU tests
  • Read expected power usage from config file

Version 0.2

08 Oct 14:46
02180d1

Choose a tag to compare

Version 0.1

08 Oct 10:21
a21b3f4

Choose a tag to compare

General