Skip to main content

Helpers for reading yaml files.

Project description

wexample-helpers-yaml

Version: 0.0.114

Helpers for reading yaml files.

Table of Contents

Status & Compatibility

Maturity: Production-ready

Python Support: >=3.10

OS Support: Linux, macOS, Windows

Status: Actively maintained

Tests

This project uses pytest for testing and pytest-cov for code coverage analysis.

Installation

First, install the required testing dependencies:

.venv/bin/python -m pip install pytest pytest-cov

Basic Usage

Run all tests with coverage:

.venv/bin/python -m pytest --cov --cov-report=html

Common Commands

# Run tests with coverage for a specific module
.venv/bin/python -m pytest --cov=your_module

# Show which lines are not covered
.venv/bin/python -m pytest --cov=your_module --cov-report=term-missing

# Generate an HTML coverage report
.venv/bin/python -m pytest --cov=your_module --cov-report=html

# Combine terminal and HTML reports
.venv/bin/python -m pytest --cov=your_module --cov-report=term-missing --cov-report=html

# Run specific test file with coverage
.venv/bin/python -m pytest tests/test_file.py --cov=your_module --cov-report=term-missing

Viewing HTML Reports

After generating an HTML report, open htmlcov/index.html in your browser to view detailed line-by-line coverage information.

Coverage Threshold

To enforce a minimum coverage percentage:

.venv/bin/python -m pytest --cov=your_module --cov-fail-under=80

This will cause the test suite to fail if coverage drops below 80%.

Known Limitations & Roadmap

Current limitations and planned features are tracked in the GitHub issues.

See the project roadmap for upcoming features and improvements.

Useful Links

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

wexample_helpers_yaml-0.0.114.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

wexample_helpers_yaml-0.0.114-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file wexample_helpers_yaml-0.0.114.tar.gz.

File metadata

  • Download URL: wexample_helpers_yaml-0.0.114.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.25.9 CPython/3.12.3 Linux/6.8.0-101-generic

File hashes

Hashes for wexample_helpers_yaml-0.0.114.tar.gz
Algorithm Hash digest
SHA256 5c016a9c47cf87874f63f30c26ff46626f2f726d4a685bd54d75c5f3d407db4a
MD5 8ecf91c5dc9a29802e10c2f56eb1aa78
BLAKE2b-256 5313851a5dd48949af5f26b56a68c8022c9ee3fc28e5e83f7a8675050abecfad

See more details on using hashes here.

File details

Details for the file wexample_helpers_yaml-0.0.114-py3-none-any.whl.

File metadata

File hashes

Hashes for wexample_helpers_yaml-0.0.114-py3-none-any.whl
Algorithm Hash digest
SHA256 fa6ae575cf6b9110c6ebaec85c45ab609241c4404202ed0b54b939e5a78e0fa8
MD5 4c3aad199a53ab8d8d286891c4cca504
BLAKE2b-256 7b57fe4574508d0f42b83f2e9ccb86d1907cf08b4bec556c0a98e8df2e7f6984

See more details on using hashes here.

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