Skip to main content

This plugin assists in writing high-quality testcode

Project description

About

This plugin will assist in writing better testcode. It will push you to follow best practices.

Installation

pip install pylint-unittest

Usage

You can easily load the plugin with the --load-plugins flag like below.

pylint --load-plugins=pylint-unittest YOUR_MODULE.py

Checkers

Below an overview of the checkers that come with this plugin.

Name Message Type Description
AssertionsChecker Missing assertion(s) in test - (missing-assertion) Warning (W9999) Checks if test method includes 'Assert' keyword or any type of assertion expression (from unittest.TestCase)

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

pylint-testcode-plugin-0.0.2.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

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

pylint_testcode_plugin-0.0.2-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file pylint-testcode-plugin-0.0.2.tar.gz.

File metadata

  • Download URL: pylint-testcode-plugin-0.0.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for pylint-testcode-plugin-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a58116b18e3c202525fdc18af331e46419487ee083636d963456f73e80edb146
MD5 99d6ce296235c2bfb8ddacfff9e1d492
BLAKE2b-256 211d98e48e3254bb75d6df3d2d8b3e8243d980dec9a7ebe69cba8bb85f1aaf60

See more details on using hashes here.

File details

Details for the file pylint_testcode_plugin-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pylint_testcode_plugin-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for pylint_testcode_plugin-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a100c907dcaefb1a2d1dbbfac25bcf334db98c29e0f0db3a8b4486900dddfbf1
MD5 2ca4538f309febc2c2026d50bc26f419
BLAKE2b-256 a8cf5fbd55dc37c56a5c3e46c39c2c0bdda1f072779de9faf4a55b5a381d9617

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page