Skip to main content

cglbtest Framework

cglbtest Framework

Usage

Install

pip install cglbtest

Get started

cd path/to/test/folder
cglb run .

Dev

Install

after install prerequisites poetry

poetry dependances + manually netCDF4 an cv2 for now + pytest

poetry install
pip install netCDF4
pip install opencv-python
pip install pytest

Tests

pytest tests/
# only comparison errors
pytest -s tests/unit_tests/01_errors/

With docker

Use the cglb poetry image

docker run -it --rm -v ./:/mnt -w /mnt cglbdev/cicd-python-packager:3-11 bash

In container example:

Normally do following but for now not working because netCDF4 explore is not installed

# install dependances
poetry install
poetry run pytest

then manually

# install dependances
poetry install

# activate venv for manual actions
poetry shell

# for now manually => externalize in plugin
pip install netCDF4

# in cicd context pytest
pip install pytest pytest-html pytest-xdist pytest-progress

# run all tests
pytest tests/

# run 1 test
pytest -s tests/unit_tests/01_errors/test_errors.py::TestErrors::test_01_equals

Metadata

Release files for cglbtest 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for cglbtest 0.1.4
File Interpreter ABI Platform Actions
cglbtest-0.1.4-py3-none-any.whl Python 3 none any Details for cglbtest-0.1.4-py3-none-any.whl

Release files / cglbtest-0.1.4-py3-none-any.whl

Download URL cglbtest-0.1.4-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be6b6f302129478d6b27d2a8a5995074b7c4a6d8b5859c72e8f746dcaf8ec14c
BLAKE2b-256 checksum
How to use checksums
49b7d21fe5ba73953290e91e7316362560e3ae20b58bddac98e3f290eb29e11c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.2 Linux/6.1.0-17-cloud-amd64

Security for cglbtest 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page