Skip to main content

Utilities for the PyTesting project

Project description

PyTesting Utils

Build Status codecov License LGPL v3 Code style: black PyPI version Supported Python Versions

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 poetry packaging 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:

  1. Fork this repository.
  2. Setup a virtual environment for development using poetry: poetry install.
  3. Create a branch: git checkout -b <branch_name>.
  4. Make your changes and commit them git commit -m '<commit_message>'.
  5. Push to the original branch: git push origin <project_name>/<location>.
  6. Create the pull request.

Please note that we require you to meet the following criteria:

  • Write unit tests for your code.
  • Run linting with flake8 and pylint
  • Run type checking using mypy
  • Format your code according to the black code 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/.

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

pytesting_utils-0.5.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

pytesting_utils-0.5.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file pytesting_utils-0.5.0.tar.gz.

File metadata

  • Download URL: pytesting_utils-0.5.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.8.1 Linux/5.4.8-gentoo-x86_64

File hashes

Hashes for pytesting_utils-0.5.0.tar.gz
Algorithm Hash digest
SHA256 b5182ed370e60e4229384f5e7af5e039fe98d2bc09e5a8765a2c7e9f4d6285f7
MD5 0e8c890c2e415c071307e8f2620bc47b
BLAKE2b-256 3c8b39bd4421a1edea5ffd3e3ae8e5ad9aeb0e2dd347854535cd42247f01f672

See more details on using hashes here.

File details

Details for the file pytesting_utils-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pytesting_utils-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/3.8.1 Linux/5.4.8-gentoo-x86_64

File hashes

Hashes for pytesting_utils-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 751a2e211a4ea8d29ea16cbcbeae6f8da06c2e7b74416da0db9f6faa1f9be9fc
MD5 cd5434e6bb6f5c3d5f7fccf6af79732f
BLAKE2b-256 5ccc07d0fb7c1733447ccc24ff7b552949b9021380a94d55f872ff149803e1be

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