An example project for showcasing unit testing.
Project description
5G00EV17-3001 Unit testing
An example project for showcasing unit testing.
Category | Badges |
---|---|
PyPI | |
Tests | |
Activity | |
QA | |
Other |
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
. But in general, you'll need:
- Python 3.7 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file unit_testing-1.0.2.tar.gz
.
File metadata
- Download URL: unit_testing-1.0.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.0 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48dc33e3b91879d56c7eb0f8fe06dad72f5c6343ad7ed05764b3750dea69a93f |
|
MD5 | c5bf6ed787c1e27b0bfeea1b089a252f |
|
BLAKE2b-256 | 552dc6443901f21adc24f5ccf64b63448b04fc82d47a6c043d8f02c97a46c97c |
File details
Details for the file unit_testing-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: unit_testing-1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.0 Linux/5.15.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c85ac9f0169682665c194167f5b85e9bef31063c60edfb389b2ecd86906d6b6 |
|
MD5 | 7d89e45d1298bac0f8b2223318df28ce |
|
BLAKE2b-256 | e1ff7eb1cff95ec566f726956cb9751b6f81e6da92c60523cb85fd07bbbb29bc |