CoolFace
Apppublic

av1352/decipher-test-generation

sourceHugging Facemitupdated 9mo agoView on Hugging Face
0likes
README.md93 linesDownload Raw Back to root
1---2title: Decipher Test Generation AI3emoji: ๐Ÿงช4colorFrom: pink5colorTo: purple6sdk: gradio7sdk_version: 6.2.08app_file: app.py9pinned: false10license: mit11---12# ๐Ÿงช Decipher AI โ€” Automated Test Generation13 14**AI-powered test generation and QA for modern software teams**15 16Built by **Anju Nandhakumar** for **Decipher AI**17 18๐Ÿ”— **[Live Demo](https://huggingface.co/spaces/av1352/decipher-test-generation)** |  19๐Ÿ”— **[LinkedIn](https://linkedin.com/in/anju-vilashni)** | ๐ŸŒ **[Portfolio](https://vxanju.com)**20 21---22 23## What This Does24 25Automatically generates **high-quality tests** from source code using AI.26 27**Features:**28- Unit, Integration, and E2E test generation29- Pytest-ready test suites in seconds30- Happy path, edge cases, and error handling31- Automatic coverage estimation (60โ€“98%)32- Line, branch, and function coverage breakdowns33 34**Example:**  35Paste a Python function โ†’ AI analyzes logic โ†’ generates 10โ€“15 tests โ†’ achieves ~90% coverage in <2 seconds36 37---38 39## Why It Matters40 41**Problem:** Writing tests is slow, boring, and often skipped  42**Solution:** AI-generated tests that are fast, thorough, and production-ready43 44**Impact:**45- 10ร— faster test creation46- Fewer production bugs47- Higher and more consistent coverage48- Developers focus on features, not boilerplate49 50---51 52## Demo Highlights53 54**Test Generation:**55- Functions, classes, validators, auth logic56- Edge cases (nulls, boundaries, invalid inputs)57- Configurable coverage targets (Basic / Medium / High)58 59**QA Dashboard:**60- Tests generated & pass rate61- Bugs detected automatically62- Coverage trends63- Time saved metrics64 65---66 67## Tech Stack68 69Python โ€ข LLMs โ€ข Pytest โ€ข Gradio โ€ข Software Quality Analytics70 71---72 73## Use Cases74 75- **CI/CD Pipelines**: Enforce coverage automatically76- **Legacy Code**: Generate tests before refactors77- **Startups**: Ship fast without sacrificing quality78- **Dev Teams**: Reduce testing overhead at scale79 80---81 82## Impact83 84- 90%+ coverage without manual effort85- 1โ€“2 seconds per test suite86- Consistent, repeatable QA87- Scales across teams and repositories88 89---90 91**Contact:** nandhakumar.anju@gmail.com  92 93Built with ๐Ÿงช + ๐Ÿค– to make testing painless