CoolFace
Apppublic

av1352/decipher-test-generation

sourceHugging Facemitupdated 9mo agoView on Hugging Face
0likes
App README

๐Ÿงช Decipher AI โ€” Automated Test Generation

AI-powered test generation and QA for modern software teams

Built by Anju Nandhakumar for Decipher AI

๐Ÿ”— [Live Demo](https://huggingface.co/spaces/av1352/decipher-test-generation) | ๐Ÿ”— [LinkedIn](https://linkedin.com/in/anju-vilashni) | ๐ŸŒ [Portfolio](https://vxanju.com)


What This Does

Automatically generates high-quality tests from source code using AI.

Features:

  • โ€”Unit, Integration, and E2E test generation
  • โ€”Pytest-ready test suites in seconds
  • โ€”Happy path, edge cases, and error handling
  • โ€”Automatic coverage estimation (60โ€“98%)
  • โ€”Line, branch, and function coverage breakdowns

Example: Paste a Python function โ†’ AI analyzes logic โ†’ generates 10โ€“15 tests โ†’ achieves ~90% coverage in <2 seconds


Why It Matters

Problem: Writing tests is slow, boring, and often skipped Solution: AI-generated tests that are fast, thorough, and production-ready

Impact:

  • โ€”10ร— faster test creation
  • โ€”Fewer production bugs
  • โ€”Higher and more consistent coverage
  • โ€”Developers focus on features, not boilerplate

Demo Highlights

Test Generation:

  • โ€”Functions, classes, validators, auth logic
  • โ€”Edge cases (nulls, boundaries, invalid inputs)
  • โ€”Configurable coverage targets (Basic / Medium / High)

QA Dashboard:

  • โ€”Tests generated & pass rate
  • โ€”Bugs detected automatically
  • โ€”Coverage trends
  • โ€”Time saved metrics

Tech Stack

Python โ€ข LLMs โ€ข Pytest โ€ข Gradio โ€ข Software Quality Analytics


Use Cases

  • โ€”CI/CD Pipelines: Enforce coverage automatically
  • โ€”Legacy Code: Generate tests before refactors
  • โ€”Startups: Ship fast without sacrificing quality
  • โ€”Dev Teams: Reduce testing overhead at scale

Impact

  • โ€”90%+ coverage without manual effort
  • โ€”1โ€“2 seconds per test suite
  • โ€”Consistent, repeatable QA
  • โ€”Scales across teams and repositories

Contact: nandhakumar.anju@gmail.com

Built with ๐Ÿงช + ๐Ÿค– to make testing painless