Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework-requirements-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

robotframework_requirements-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file robotframework-requirements-0.1.0.tar.gz.

File metadata

File hashes

Hashes for robotframework-requirements-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6485524ba12e12bbf3222438a24a523e3c8758d977d8a5169a0a8161a5eda062
MD5 07e53bfdb198ada19e085ff259963b5d
BLAKE2b-256 68b867d17aa7079613452edbc0c23ac20e3b04b21ef6eadbc971aaec08077c3c

See more details on using hashes here.

File details

Details for the file robotframework_requirements-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_requirements-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab65df3d1faac60afa75562d775a5fd710d60bb6cbb82f97bbbe02a10e05aeb7
MD5 7fb86c667bb04b4094c9cfdceb46282e
BLAKE2b-256 36ec3c54303aa504bc34ef915268837bcb9582450b0e15e5a177211d4559272a

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