Linter for Gherkin feature files
Project description
gherlint
Linter for Gherkin feature files, written in Python
Install
Simply run pip install gherlint
.
Linting Feature Files
gherlint
comes with a command line interface.
To recursively lint all feature files in a directory, run gherlint lint
.
Computing Metrics
gherlint
can also create some metrics for you if you want to know how many features, scenarios and steps you have
in your test suite. To do so, run gherlint stats
.
Disclaimer
gherlint
is still in an early development phase. New checks will be added over time.
If you want to contribute, feel free to open issues suggesting useful checkers, or open a pull request if you want
to!
Roadmap
The following work items are planned for the upcoming releases:
- V0.0.x - V0.1.0:
- Parser and object model for feature files
- Basic checkers to demonstrate workflow
- Basic text based reporter
- V0.1.x - V1.0: <-- we are here
- Add more checkers
- Add more output formats
- Extend object model as necessary for checkers
- Reach a stable interface for object model, checkers and reporters
- V1.x - V2.0:
- Support configuration to enable/disable individual messages
- Implement plugin architecture to allow users to add custom checkers
CHANGELOG
V0.1.0
First package in alpha status:
- Parser and object model for feature files
- Basic checkers to demonstrate workflow
- Basic text based reporter
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
Built Distribution
File details
Details for the file gherlint-0.1.0.tar.gz
.
File metadata
- Download URL: gherlint-0.1.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.8.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f88e1ae5c694108d9a9b9df1ee8ca887681b7715b06fed8223a2fb17daf978ee |
|
MD5 | 037dc6cc990a53c8281d0d3f1f5eb824 |
|
BLAKE2b-256 | 8586960e935b9f6d2c24880f3901c53b9cd6eb30041ffb59179031f011dd6ccf |
File details
Details for the file gherlint-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: gherlint-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.11 CPython/3.9.7 Linux/5.8.0-1042-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73f5996eaeb4fb955234d56f75afd2f4151a4348d7c5bc107caf5c8ce09b3780 |
|
MD5 | 76c3e7e4667d816b0a955f084855071e |
|
BLAKE2b-256 | 7dfb6e7a0d61dc5805800736d6aa2b503e4f29619456ba5f44d70723b025638d |