Auto‑generates AI‑ready debug prompts for failed scenarios
Project description
Vedro Debug Prompt
AI Debug Prompt for Vedro – auto‑generates AI‑friendly Markdown prompts for every failed scenario, ready to paste straight into ChatGPT (or any LLM).
Installation
Quick
For a one‑liner install via Vedro’s plugin manager:
$ vedro plugin install vedro-debug-prompt
Manual
- Install the package:
$ pip3 install vedro-debug-prompt
- Enable the plugin in
vedro.cfg.py:
import vedro
import vedro_debug_prompt
class Config(vedro.Config):
class Plugins(vedro.Config.Plugins):
class DebugPrompt(vedro_debug_prompt.DebugPrompt):
enabled = True
Usage
Run your tests as usual:
vedro run
When a scenario fails you’ll see something like:
✗ decode base64 encoded string
|> AI Debug Prompt: .vedro/tmp/prompt_2ltoa90r.md
⌘‑click (or Ctrl‑click) the path in most terminals to open the file, then paste its contents into your favourite LLM for an instant diagnosis and minimal fix suggestion.
Documentation
Full usage examples and advanced configuration live in the docs:
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
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 vedro_debug_prompt-0.1.1.tar.gz.
File metadata
- Download URL: vedro_debug_prompt-0.1.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b1248b8b5fe97abd86585b2f722b24f0f321db3823da1d5fbf74d78925394de
|
|
| MD5 |
484df489344869857ed0919b3a8f52cf
|
|
| BLAKE2b-256 |
01225107278c8dfa55ca9e51cf3a2b4e73f696d83d491a5cf3e97f4d63bf42fd
|
File details
Details for the file vedro_debug_prompt-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vedro_debug_prompt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
419b32042f91ef77f9fc3c68aeff59b1a7babfbe4d0b21218cacf865cbdbce30
|
|
| MD5 |
0bda700d91bb962b1fbdfacec09ae483
|
|
| BLAKE2b-256 |
c41b77d09e7241018a9739b63b20dd418e583d9a22af0df4cdb6c9e8e157f7ae
|