Skip to main content

No project description provided

Project description

check-tests-structure

The goal of this project is to validate whether your tests folder structure matches your sources folder structure. This can be useful for example, when setting up testing for a Python project where you want all modules to be tested.

Installation

Either install this package, e.g. with pipx or set up a pre-commit hook:

# pyproject.toml:
[tool.check-tests-structure]
sources_path = "src/my_package"
tests_path = "tests/unit"
# pre-commit-config.yaml:
repos:
  - repo: https://github.com/leoschwarz/check-tests-structure
    rev: v0.1.0
    hooks:
      - id: check-tests-structure

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

check_tests_structure-0.0.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

check_tests_structure-0.0.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file check_tests_structure-0.0.1.tar.gz.

File metadata

  • Download URL: check_tests_structure-0.0.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for check_tests_structure-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5fe4d70bbc1ec3707ebd7f3bec752a554a1fe8afaf54899889be8ce7b56554db
MD5 31a272045242f2de12e08f9b7053a221
BLAKE2b-256 321f17d93c9a78333289bba0c1575cd2e0c5b56ddd7d64e885d568515c08985f

See more details on using hashes here.

File details

Details for the file check_tests_structure-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for check_tests_structure-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e3dcced419f3acd14f8ef33cafce1f20a921af274c1d29b040e2934820e2dff
MD5 6f01649de433fed5990d4ad4c41c941f
BLAKE2b-256 6a2919152b581b4c727976e8aab38e20e9e6d2805505328644dd7c444ad77a58

See more details on using hashes here.

Supported by

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