RobotFramework library that verifies installed libraries against requirements.txt
Project description
Requirements checking library for Robot Framework
Introduction
Robotframework-requirements is a library that verifies all packages in requirements.txt are installed and correct version. If missing or incorrect versions of packages are found, warning is shown
Usage
It should be enough to add library to Settings part of your suite and it will give warnings for incorrect requirements.
*** Settings ***
Library RequirementsLibrary
In case you have requirements.txt in a different folder, you can give path to file.
*** Settings ***
Library RequirementsLibrary ${CURDIR}/../requirements.txt
It is also possible to run library check during test run.
*** Settings ***
Library RequirementsLibrary ${CURDIR}/../requirements.txt
*** Test Cases ***
Test Requirements
Check Libraries
Check Libraries ${CURDIR}/../requirements.txt
Submitting issues
Bugs and enhancements are tracked in the issue tracker.
Before submitting a new issue, it is always a good idea to check is the same bug or enhancement already reported. If it is, please add your comments to the existing issue instead of creating a new one.
Coding style
Coding style is defined in .editorconfig file. Configure your editor to use it.
Code must pass checks from black, flake8, pylint and mypy. Markdown files must pass pymarkdown checker.
License
This library is released under MIT license.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework-requirements-0.1.0.tar.gz.
File metadata
- Download URL: robotframework-requirements-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6485524ba12e12bbf3222438a24a523e3c8758d977d8a5169a0a8161a5eda062
|
|
| MD5 |
07e53bfdb198ada19e085ff259963b5d
|
|
| BLAKE2b-256 |
68b867d17aa7079613452edbc0c23ac20e3b04b21ef6eadbc971aaec08077c3c
|
File details
Details for the file robotframework_requirements-0.1.0-py3-none-any.whl.
File metadata
- Download URL: robotframework_requirements-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab65df3d1faac60afa75562d775a5fd710d60bb6cbb82f97bbbe02a10e05aeb7
|
|
| MD5 |
7fb86c667bb04b4094c9cfdceb46282e
|
|
| BLAKE2b-256 |
36ec3c54303aa504bc34ef915268837bcb9582450b0e15e5a177211d4559272a
|