Skip to main content

Cucumber Expressions - a simpler alternative to Regular Expressions

Project description

Cucumber Expressions for Python

The main docs are here.

Build system

This project uses Poetry as its build system. In order to develop on this project, please install Poetry as per your system's instructions on the link above.

Tests

The test suite uses pytest as its testing Framework.

Preparing to run the tests

In order to set up your dev environment, run the following command from this project's directory:

poetry install

It will install all package and development requirements, and once that is done it will do a dev-install of the source code.

You only need to run it once, code changes will propagate directly and do not require running the install again.

Running the tests

pytest automatically picks up files in the current directory or any subdirectories that have the prefix or suffix of test_*.py. Test function names must start with test*. Test class names must start with Test*.

To run all tests:

poetry run pytest

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

cucumber_expressions-17.1.0.tar.gz (21.5 kB view hashes)

Uploaded Source

Built Distribution

cucumber_expressions-17.1.0-py3-none-any.whl (19.4 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