QualityFlow

AI-powered automated test generation and coverage analysis pipeline built with ZenML and LLMs.

QualityFlow is an AI-powered test generation pipeline that demonstrates how to build production-ready workflows for automated unit test generation using Large Language Models (LLMs) with ZenML. It focuses on generating tests, comparing against a baseline, and producing real coverage analysis.

What It Does

  • Integrates LLM providers (OpenAI/Anthropic) for intelligent unit test generation

  • Selects target source files via configurable strategies with max_files limits

  • Generates baseline heuristic tests to compare with LLM-generated tests

  • Executes tests and produces coverage metrics and detailed reports

  • Tracks token usage and estimated costs via run metadata

How It Works

  • A single Generate & Evaluate pipeline orchestrates: input selection, source fetching,
    code analysis, LLM test generation, baseline test generation, test execution with
    coverage, and comparative reporting

  • Uses ZenML Path artifacts to support remote/containerized execution

  • Configurable via YAML files to control speed, providers, and test limits

Architecture

The architecture connects a streamlined test-generation pipeline to LLM providers and test execution backends, producing coverage reports and markdown summaries that are versioned and tracked in ZenML.

Gallery

QualityFlow

AI orchestration,
on the infra you choose

Get new posts by email

New posts and product updates, sent when we publish. No spam.

By subscribing, you agree to our privacy policy.