Skip to main content

Helpers for Php.

Project description

wexample-filestate-php

Version: 0.0.15

Helpers for Php.

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_filestate_php-0.0.15.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

wexample_filestate_php-0.0.15-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file wexample_filestate_php-0.0.15.tar.gz.

File metadata

  • Download URL: wexample_filestate_php-0.0.15.tar.gz
  • Upload date:
  • Size: 6.2 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_filestate_php-0.0.15.tar.gz
Algorithm Hash digest
SHA256 6c89d81c165dbe9097d5a03e1e5b0913ac13a6932f09d3fabe062e8649a5b32c
MD5 485417bea3d7d48e92e11dd68b9bdea9
BLAKE2b-256 7c0baf17367d67127052c0d108cbece013ebd18489f4bb7df7302eea9b944e7f

See more details on using hashes here.

File details

Details for the file wexample_filestate_php-0.0.15-py3-none-any.whl.

File metadata

File hashes

Hashes for wexample_filestate_php-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 2488c6cb120b42f4b65e8e3f0b7b342d8262a967a37d5044b7b993f476abc1c5
MD5 a40a4812c1ea094c9a7bcdb822598995
BLAKE2b-256 2a31e0316dfc03a9cd8515030ab025d809ec15bba0acf03138d02a3b1cd2ed25

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