behave-runner
CLI completa para Behave con subcomandos.
Features
- CLI unificada para ejecutar, listar, filtrar y gestionar escenarios Behave.
- Soporte de ejecución en paralelo, sharding, prioridad y reintentos.
- Perfiles de configuración en
pyproject.tomlobehave.ini. - Modo watch para re-ejecutar tests automáticamente al cambiar archivos.
- Reportes en consola, HTML, Markdown, JSON, XLSX y PDF.
- Trace viewer y UI web para depuración.
- Gestión de step libraries, generación de features y grabación de navegador.
- Análisis de impacto para detectar escenarios afectados por cambios de código.
- Degradación graceful: si falta una extra opcional, el comando sigue funcionando.
Installation
pip install behave-runner
pip install "behave-runner[all]" # con todas las extras
Para desarrollo:
pip install -e ".[dev]"
pre-commit install
Quick Start
behave-runner init
behave-runner run
behave-runner list
behave-runner watch
Commands
| Command | Description |
|---|---|
run |
Ejecutar tests de Behave. |
watch |
Re-ejecutar tests al detectar cambios. |
list |
Listar escenarios sin ejecutarlos. |
select |
Filtrar escenarios por tags, regex o nombre. |
lint |
Lint de archivos .feature. |
format |
Formatear archivos .feature. |
doctor |
Diagnóstico de salud del proyecto. |
init |
Inicializar un proyecto Behave. |
generate |
Generar steps o features. |
record |
Grabar sesión de navegador y generar steps. |
report |
Generar y abrir reportes. |
trace |
Ver trace viewer o servir dashboard. |
steps |
Gestionar step libraries. |
impact |
Detectar escenarios afectados por cambios. |
open |
Abrir el último reporte o trace en el navegador. |
config |
Gestionar la configuración. |
Documentation
La documentación completa está en:
https://mathiaspaulenko.github.io/behave-runner/
Links
- Repositorio: https://github.com/MathiasPaulenko/behave-runner
- Issues: https://github.com/MathiasPaulenko/behave-runner/issues
- Discussions: https://github.com/MathiasPaulenko/behave-runner/discussions
- PyPI: https://pypi.org/project/behave-runner/
License
MIT
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 behave_runner-1.0.0.tar.gz.
File metadata
- Download URL: behave_runner-1.0.0.tar.gz
- Upload date:
- Size: 48.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10bf277a3aa34b08bb2efc40910c1f025510822f6bc1207d66a166a8cf69e5a1
|
|
| MD5 |
0400338a3c80795b1a408a07b01d5eff
|
|
| BLAKE2b-256 |
c95a36626c271d9b7cd4a7b3aad09ca4fb0d87f718e537a0a11dacb60da2b3d7
|
Provenance
The following attestation bundles were made for behave_runner-1.0.0.tar.gz:
Publisher:
release.yml on MathiasPaulenko/behave-runner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
behave_runner-1.0.0.tar.gz -
Subject digest:
10bf277a3aa34b08bb2efc40910c1f025510822f6bc1207d66a166a8cf69e5a1 - Sigstore transparency entry: 2368004611
- Sigstore integration time:
-
Permalink:
MathiasPaulenko/behave-runner@5253a380c117766aa62b6b12b81f0cc2f66b6bd8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MathiasPaulenko
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5253a380c117766aa62b6b12b81f0cc2f66b6bd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file behave_runner-1.0.0-py3-none-any.whl.
File metadata
- Download URL: behave_runner-1.0.0-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fee5fed8ccc1715298b62e05e62c5a8fb9c87b3a2845be002787b7b245e747f2
|
|
| MD5 |
837880b502b0cfb0bff9517292660356
|
|
| BLAKE2b-256 |
8c15ea882a54dd95da962f02df2c9a63c7ccb3f1dfad5b3c54c626bdeff5b1b3
|
Provenance
The following attestation bundles were made for behave_runner-1.0.0-py3-none-any.whl:
Publisher:
release.yml on MathiasPaulenko/behave-runner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
behave_runner-1.0.0-py3-none-any.whl -
Subject digest:
fee5fed8ccc1715298b62e05e62c5a8fb9c87b3a2845be002787b7b245e747f2 - Sigstore transparency entry: 2368004703
- Sigstore integration time:
-
Permalink:
MathiasPaulenko/behave-runner@5253a380c117766aa62b6b12b81f0cc2f66b6bd8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MathiasPaulenko
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@5253a380c117766aa62b6b12b81f0cc2f66b6bd8 -
Trigger Event:
push
-
Statement type: