Pytest Results Context icon

Pytest Results Context

Createdkieranlal

Updates large language models with context about the most recent pytest results.

About

This tool enhances LLMs by providing them with context from the latest pytest runs. It consists of a Node.js server, pytest configuration, and JavaScript/Python SDKs. The server processes pytest results, recording session starts, test outcomes, and session finishes. This information is then structured to provide LLMs with valuable insights into test execution and failures, improving their understanding and response capabilities.

Key Features

  • Records pytest session start and finish events.
  • Provides error details for failed tests.
  • Uses JavaScript and Python SDKs for seamless integration.
  • Tracks individual test outcomes (passed, failed, skipped) with durations.
  • Clears historical test data to maintain accuracy.
  • 0 GitHub stars

Use Cases

  • Providing LLMs with insights into test suite health.
  • Using test results to guide LLM-driven code generation.
  • Enabling LLMs to analyze test failures and suggest fixes.