Skip to main content

Auto‑generates AI‑ready debug prompts for failed scenarios

Project description

Vedro Debug Prompt

PyPI PyPI - Downloads Python Version

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

  1. Install the package:
$ pip3 install vedro-debug-prompt
  1. 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:

👉 vedro.io/docs/ai/debug-prompt

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

vedro_debug_prompt-0.1.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

vedro_debug_prompt-0.1.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

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

Hashes for vedro_debug_prompt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3b1248b8b5fe97abd86585b2f722b24f0f321db3823da1d5fbf74d78925394de
MD5 484df489344869857ed0919b3a8f52cf
BLAKE2b-256 01225107278c8dfa55ca9e51cf3a2b4e73f696d83d491a5cf3e97f4d63bf42fd

See more details on using hashes here.

File details

Details for the file vedro_debug_prompt-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for vedro_debug_prompt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 419b32042f91ef77f9fc3c68aeff59b1a7babfbe4d0b21218cacf865cbdbce30
MD5 0bda700d91bb962b1fbdfacec09ae483
BLAKE2b-256 c41b77d09e7241018a9739b63b20dd418e583d9a22af0df4cdb6c9e8e157f7ae

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