Skip to content

Diapolo10/5G00EV17-3001_unit-testing

Repository files navigation

5G00EV17-3001 Unit testing

An example project for showcasing unit testing.

Category Badges
PyPI Python versions PyPI - Implementation
Tests codecov Unit tests Ruff
Activity GitHub contributors Last commit
QA CodeFactor Rating
Other License Repository size Code size Lines of code

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. 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.

Running unit tests

Please see the documentation here.

Version history

The project's changelog can be found here.

License

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

Acknowledgements

Inspiration, code snippets, debugging help, etc.

  • My fellow team members

About

TAMK Software development course, unit testing.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •