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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pylint-testcode-plugin-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a58116b18e3c202525fdc18af331e46419487ee083636d963456f73e80edb146 |
|
MD5 | 99d6ce296235c2bfb8ddacfff9e1d492 |
|
BLAKE2b-256 | 211d98e48e3254bb75d6df3d2d8b3e8243d980dec9a7ebe69cba8bb85f1aaf60 |
Close
Hashes for pylint_testcode_plugin-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a100c907dcaefb1a2d1dbbfac25bcf334db98c29e0f0db3a8b4486900dddfbf1 |
|
MD5 | 2ca4538f309febc2c2026d50bc26f419 |
|
BLAKE2b-256 | a8cf5fbd55dc37c56a5c3e46c39c2c0bdda1f072779de9faf4a55b5a381d9617 |