PyTesting Utils
PyTesting Utils is a collection of utilities for the PyTesting project.
Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed Python at least in version 3.6.
- You have a recent Linux or MacOS machine. The library was not tested under any other operating system. Feel free to report experiences/issues on other systems.
- For development it is necessary to have the
poetrypackaging and dependency management system.
Installing PyTesting Utils
PyTesting Utils can be easily installed from PyPI using the
pip utility:
pip install pytesting-utils
Contributing to PyTesting Utils
To contribute to PyTesting Utils, follow these steps:
- Fork this repository.
- Setup a virtual environment for development using
poetry:poetry install. - Create a branch:
git checkout -b <branch_name>. - Make your changes and commit them
git commit -m '<commit_message>'. - Push to the original branch:
git push origin <project_name>/<location>. - Create the pull request.
Please note that we require you to meet the following criteria:
- Write unit tests for your code.
- Run linting with
flake8andpylint - Run type checking using
mypy - Format your code according to the
blackcode style
To ease the execution of the tools, we provide a Makefile with various targets.
The easiest way to execute all checks is to run make check on a poetry shell.
Push your commits only if they pass all checks!
These tools are also executed in continuous integration on TravisCI and will also
check you pull request.
Failing a check will block your pull request from being merged!
Contributors
See the Contributors page for a list of contributors. Thanks to all contributors!
License
pytesting_utils is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
pytesting_utils is distributed in the hope that it will be useful but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS OF A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
Your should have received a copy of the
GNU Lesser General Public License
along with pytesting_utils. If not, see
https://www.gnu.org/licenses/.
Metadata
Release files for pytesting-utils 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytesting_utils-0.5.0.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytesting_utils-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.1 kB
Release files / pytesting_utils-0.5.0.tar.gz
| Download URL | pytesting_utils-0.5.0.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5182ed370e60e4229384f5e7af5e039fe98d2bc09e5a8765a2c7e9f4d6285f7
|
|
BLAKE2b-256 checksum How to use checksums |
3c8b39bd4421a1edea5ffd3e3ae8e5ad9aeb0e2dd347854535cd42247f01f672
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/3.8.1 Linux/5.4.8-gentoo-x86_64
|
Release files / pytesting_utils-0.5.0-py3-none-any.whl
| Download URL | pytesting_utils-0.5.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
751a2e211a4ea8d29ea16cbcbeae6f8da06c2e7b74416da0db9f6faa1f9be9fc
|
|
BLAKE2b-256 checksum How to use checksums |
5ccc07d0fb7c1733447ccc24ff7b552949b9021380a94d55f872ff149803e1be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/3.8.1 Linux/5.4.8-gentoo-x86_64
|