Skip to main content

Helper to download fediverse feature files

Project description

fediverse-features

This is a simple tool to download a subset of the Gherkin features available at helge/fediverse-features. These enable one to BDD tests for Fediverse applications.

Usage

Install via

pip install fediverse-features

Create a toml file fediverse-features.toml containing

tag = "0.1.6"

features = [
    "fedi/node_info.feature"
]

where features is the list of feature files. Then run

python -mfediverse_features

The feature files are then downloaded to the features/fediverse-features directory. One can change this directory by adding a target parameter to the configuration file, e.g.

tag = "0.1.6"

features = [
    "fedi/node_info.feature"
]

target = "features"

Further options

One can list available features via

python -mfediverse_features --list

By running

python -mfediverse_features gitignore

one can add the target directory to the .gitignore file.

Development

Run tests via

uv run pytest

Publish a new version

To publish a new version run

rm -rf dist
uv build
uv publish --token $PYPI_TOKEN

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

fediverse_features-0.1.4.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

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

fediverse_features-0.1.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file fediverse_features-0.1.4.tar.gz.

File metadata

  • Download URL: fediverse_features-0.1.4.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for fediverse_features-0.1.4.tar.gz
Algorithm Hash digest
SHA256 512ccdf7ce0a6c39575d2fb47b1424f704a800cc2da2f5112cb927becd424def
MD5 7902fe7477d9b874eb5cb9a411ff1ca4
BLAKE2b-256 3b801d5ea72fbceb1e36153d86fac0a4a98ca6a841cc43530b2c54b0851cdc1c

See more details on using hashes here.

File details

Details for the file fediverse_features-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for fediverse_features-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aa6b309b3bd8262b421082ab09179208c061419e6c5bced966d336bacb745eba
MD5 482dbf8ef01bf5187dbadd15cfe030ee
BLAKE2b-256 08f07e2c9b05d8b8265d19668be0d6ab1c9bb0a0795aed1e13143119d904effc

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