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.2.1.tar.gz (11.2 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.2.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file vedro_debug_prompt-0.2.1.tar.gz.

File metadata

  • Download URL: vedro_debug_prompt-0.2.1.tar.gz
  • Upload date:
  • Size: 11.2 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.2.1.tar.gz
Algorithm Hash digest
SHA256 bc88dd18aa255e191103714b94ba6c13a98d16321a56b11c2900c9a4e1be8879
MD5 44485dd40ac8a2ac44f7066a08e3aab9
BLAKE2b-256 a744230be022d2b570558f93ca7022a41b1c63fdad8229082c3accedcc12a519

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vedro_debug_prompt-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75ce5063a30edff88c499687283c9081ee5fe35292f6c11dee40da963f8d22df
MD5 11360a44e80b4f46fd47d34948a20ce4
BLAKE2b-256 29867298d13bc892c0ab652fce51a73d147612cd0c2c6c943862a332377c7efc

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