Metadata-Version: 2.1
Name: unit-testing
Version: 1.0.4
Summary: An example project for showcasing unit testing.
Home-page: https://pypi.org/project/5G00EV17-3001_unit-testing/
License: MIT
Keywords: python3
Author: Lari Liuhamo
Author-email: lari.liuhamo+pypi@gmail.com
Maintainer: Lari Liuhamo
Maintainer-email: lari.liuhamo+pypi@gmail.com
Requires-Python: >=3.11.0,<4.0.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Typing :: Typed
Project-URL: Changelog, https://github.com/Diapolo10/unit_testing/blob/main/CHANGELOG.md
Project-URL: Documentation, https://github.com/Diapolo10/5G00EV17-3001_unit-testing/tree/main/docs
Project-URL: Repository, https://github.com/Diapolo10/5G00EV17-3001_unit-testing
Project-URL: Source code, https://github.com/Diapolo10/unit_testing
Project-URL: Tracker, https://github.com/Diapolo10/unit_testing/issues
Description-Content-Type: text/markdown

# 5G00EV17-3001 Unit testing

An example project for showcasing unit testing.

|   Category   |  Badges  |
|:------------:|---|
| **PyPI**     | ![Python versions](https://img.shields.io/pypi/pyversions/5G00EV17-3001_unit-testing?logo=python) ![PyPI - Implementation](https://img.shields.io/pypi/implementation/5G00EV17-3001_unit-testing) |
| **Tests**    | [![codecov](https://codecov.io/gh/Diapolo10/5G00EV17-3001_unit-testing/branch/main/graph/badge.svg?token=FpaCuVjOAB)](https://codecov.io/gh/Diapolo10/5G00EV17-3001_unit-testing) ![Unit tests](https://github.com/diapolo10/5G00EV17-3001_unit-testing/workflows/Unit%20tests/badge.svg) ![Ruff](https://github.com/diapolo10/5G00EV17-3001_unit-testing/workflows/Ruff/badge.svg) |
| **Activity** | ![GitHub contributors](https://img.shields.io/github/contributors/diapolo10/5G00EV17-3001_unit-testing) ![Last commit](https://img.shields.io/github/last-commit/diapolo10/5G00EV17-3001_unit-testing?logo=github)
| **QA**       | [![CodeFactor](https://www.codefactor.io/repository/github/diapolo10/5G00EV17-3001_unit-testing/badge?logo=codefactor)](https://www.codefactor.io/repository/github/diapolo10/5G00EV17-3001_unit-testing) [![Rating](https://img.shields.io/librariesio/sourcerank/pypi/5G00EV17-3001_unit-testing)](https://libraries.io/github/Diapolo10/5G00EV17-3001_unit-testing/sourcerank) |
| **Other**    | [![License](https://img.shields.io/github/license/diapolo10/5G00EV17-3001_unit-testing)](https://opensource.org/licenses/MIT) ![Repository size](https://img.shields.io/github/repo-size/diapolo10/5G00EV17-3001_unit-testing?logo=github) ![Code size](https://img.shields.io/github/languages/code-size/diapolo10/5G00EV17-3001_unit-testing?logo=github) ![Lines of code](https://img.shields.io/tokei/lines/github/diapolo10/5G00EV17-3001_unit-testing?logo=github) |

-------------------------------------------------------------------------------

## Description

This project showcases how unit testing works by implementing a very simple
Python library, and adding unit tests to it. The project uses Pytest.

## Getting Started

### Dependencies

The main project has no library dependencies, but the actual unit testing
part relies on several packages listed in
[`pyproject.toml`][pyproject.toml]. But in general, you'll need:

- Python 3.11 or newer
- Poetry

The project is automatically tested on the latest versions of Windows,
Mac OS, and Ubuntu, and it has also been tested on both CPython
and PyPy. Using other implementations or operating systems
may work, but is not guaranteed.

### Installation

Please see the documentation [here][installation].

### Running unit tests

Please see the documentation [here][running unit tests].

## Version history

The project's changelog can be found [here][changelog].

## License

This project is licensed under the MIT license - see the [`LICENSE`][license]-file for details.

## Acknowledgements

Inspiration, code snippets, debugging help, etc.

- My fellow team members

[pyproject.toml]: ./pyproject.toml
[installation]: ./docs/installation.md
[running unit tests]: ./docs/running_unit_tests.md
[changelog]: ./CHANGELOG.md
[license]: ./LICENSE

