Skip to main content

Hardware tests for ICOtronic system

Project description

ICOtest

Install

Poetry

We recommend you use Poetry to install the package. To do that please use the following commands in the root of the repository:

poetry lock
poetry install --all-extras

Pip

To install the package

  • in development/editable mode
  • including development (dev) packages

please use the following command in the root of the repository:

pip install -e .[dev]

Uninstall

pip uninstall icotest

Tests

To run the test, please use the following command in the root of the repository:

pytest # or `poetry run pytest`

Configuration

  1. Open the configuration file in your default text editor:

    icotest config # or `poetry run icotest config`
    
  2. Adapt the configuration

Debug

To enable the output of log messages in the code, please add the following config settings:

[tool.pytest.ini_options]
# Add the values below:
log_cli = true
log_cli_level = "INFO"

to pyproject.toml. The value besides log_cli_level is the minimum level of log messages, that will be displayed by the test code. For the value INFO, all log messages with level INFO or higher (e.g. logger.info, logger.warning, logger.error) will be included in the output.

Development

Release

Note: In the text below we assume that you want to release version <VERSION> of the package. Please just replace this version number with the version that you want to release (e.g. 0.2).

  1. Make sure that all the checks and tests work correctly locally

    make
    
  2. Make sure all workflows of the CI system work correctly

  3. Release a new version on PyPI:

    1. Increase version number
    2. Add git tag containing version number
    3. Push changes
    poetry version <VERSION>
    export icotest_version="$(poetry version -s)"
    git commit -a -m "Release: Release version $icotest_version"
    git tag "$icotest_version"
    git push && git push --tags
    
  4. Open the release notes for the latest version and create a new release

    1. Paste them into the main text of the release web page
    2. Insert the version number into the tag field
    3. For the release title use “Version ”, where <VERSION> specifies the version number (e.g. “Version 0.2”)
    4. Click on “Publish Release”

    Note: Alternatively you can also use the gh command:

    gh release create
    

    to create the release notes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

icotest-0.1.0a2.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

icotest-0.1.0a2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file icotest-0.1.0a2.tar.gz.

File metadata

  • Download URL: icotest-0.1.0a2.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for icotest-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 0a92c601c0f63bbbf2aafa930e1dbe4f883a241a022f2f31f6ec70974e761951
MD5 dd57a23ab19e8721a47e8562a7784c88
BLAKE2b-256 92cc9b192249b2ed6cf74460f8a5510d7591d27da9ee1f77f43c15e2a9e9db13

See more details on using hashes here.

Provenance

The following attestation bundles were made for icotest-0.1.0a2.tar.gz:

Publisher: publish.yaml on MyTooliT/ICOtest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file icotest-0.1.0a2-py3-none-any.whl.

File metadata

  • Download URL: icotest-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for icotest-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 efb8f325e24a78391bae6275973f7d0d91accded25b6f334ec139689e733ee02
MD5 9dae187c744b05e7997fe4d559d30867
BLAKE2b-256 e1cb4aad114cac14622a2be03860e5b5f9c7cf52bc98ac32526765139065c97c

See more details on using hashes here.

Provenance

The following attestation bundles were made for icotest-0.1.0a2-py3-none-any.whl:

Publisher: publish.yaml on MyTooliT/ICOtest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page