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)

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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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