Skip to main content

flake8-pytestrail

A companion Flake8 plugin for pytest-testrail package.

Installation

pip install flake8-pytestrail

or if you use poetry:

poetry add --dev flake8-pytestrail

Usage

⚠️ At the moment plugin assumes that you use default pytest configuration (test files are all can be matched by **/test_*.py glob). It also assumes that you want all test cases to have been registered inside of TestRail and have ID.

flake8 .

Error list

  • TR001 Missing @pytestrail.case() decorator
  • TR002 Multiple @pytestrail.case() decorators
  • TR003 Test case ID should match "^C\d+$" pattern

Configuration

There is no way to configure the plugin at the moment.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-pytestrail-0.2.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_pytestrail-0.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file flake8-pytestrail-0.2.0.tar.gz.

File metadata

  • Download URL: flake8-pytestrail-0.2.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.4.0

File hashes

Hashes for flake8-pytestrail-0.2.0.tar.gz
Algorithm Hash digest
SHA256 98bca6e2edf51dbb802ab4a65145d91935e91cd8ae31f71c099b5dd2b24410cd
MD5 12abcec364098ebba13fec4426322a30
BLAKE2b-256 67dbf029549ee1ba9b545465101c76f7b07cd9e314e25dee74d5c40838789d1c

See more details on using hashes here.

File details

Details for the file flake8_pytestrail-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: flake8_pytestrail-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.4.0

File hashes

Hashes for flake8_pytestrail-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f65b0d7f7627f2acb7eba17be77f17903abe906ec55ca21b7606abbaa1039ce
MD5 ae2a71b5a51f4a0c60f1beb0778e456a
BLAKE2b-256 1c27738d7214b34c4ad1ffa8049617f58b1da742fae075481da81e2f23765a06

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

2 files

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page