Skip to main content

Python code coverage automation

Project description

Generate code coverage and update README.md

ats_coverage is toolset for generation of code coverage and update README.md.

Developed in python code.

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

ats_coverage python checker ats_coverage package checker GitHub issues open GitHub contributors

Table of Contents

Installation

Used next development environment

debian linux os

ats_coverage python3 build

Currently there are three ways to install package

  • Install process based on using pip mechanism
  • Install process based on build mechanism
  • Install process based on setup.py mechanism
  • Install process based on docker mechanism
Install using pip

ats_coverage is located at pypi.org.

You can install by using pip

# python3
pip3 install ats_coverage
Install using build

Navigate to release page download and extract release archive.

To install ats_coverage type the following

tar xvzf ats_coverage-x.y.z.tar.gz
cd ats_coverage-x.y.z/
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py 
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/ats_coverage-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/ats_coverage_run.py
ln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/ats_coverage_run.py /usr/local/bin/ats_coverage_run.py
Install using py setup

Navigate to release page download and extract release archive.

To install ats_coverage locate and run setup.py with arguments

tar xvzf ats_coverage-x.y.z.tar.gz
cd ats_coverage-x.y.z
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_egg_info
Install using docker

You can use Dockerfile to create image/container.

Dependencies

ats_coverage requires next modules and libraries

Tool structure

ats_coverage is based on OOP.

Tool structure

    ats_coverage/
         ├── conf/
            ├── ats_coverage.cfg
            ├── ats_coverage.logo
            └── ats_coverage_util.cfg
         ├── __init__.py
         ├── log/
            └── ats_coverage.log
         ├── pro/
            └── __init__.py
         ├── py.typed
         └── run/
             └── ats_coverage_run.py

    5 directories, 8 files

Code coverage

Name Stmts Miss Cover
ats_coverage/__init__.py 70 12 83%
ats_coverage/pro/__init__.py 124 11 91%
TOTAL 194 23 88%

Docs

Documentation Status

More documentation and info at

Contributing

Contributing to ats_coverage

Copyright and licence

License: GPL v3 License

Copyright (C) 2024 by vroncevic.github.io/ats_coverage

ats_coverage is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 3.x or, at your option, any later version of Python 3 you may have available.

Lets help and support PSF.

Python Software Foundation

Donate

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

ats_coverage-1.0.3.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

ats_coverage-1.0.3-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file ats_coverage-1.0.3.tar.gz.

File metadata

  • Download URL: ats_coverage-1.0.3.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for ats_coverage-1.0.3.tar.gz
Algorithm Hash digest
SHA256 50679d21739b51cdf2b6de7f409f8c112c98130afc8e06eea059325b74f05678
MD5 1b9314142f286e7e1b9fd6ed9593d058
BLAKE2b-256 7b6d6fb1278ac62019933ed4fc80b9fb0a4f7229d452ce067e01f937fae73f8c

See more details on using hashes here.

File details

Details for the file ats_coverage-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ats_coverage-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 479fe5b7bd15b23217ade6b3eda09ac66ef3a8b629be1ca2b724e7126d6818ec
MD5 6cc384a376e3d811760d61fbfdfeaa4f
BLAKE2b-256 58c0d9488436efff8223ee2b4f0192901d9abf52a40a0d913ba3151f9996fc28

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