Skip to main content

CLI tool to auto-generate test cases from your code

Project description

🧪 TestGenie - Instantly Generate Test Cases from Your Terminal

TestGenie is a fast, intuitive CLI tool designed for developers who want to generate meaningful test cases from their source code - without ever leaving the terminal.

No more toggling between browser tabs, writing boilerplate, or wasting hours on trivial tests. TestGenie bridges your code with AI-powered suggestions tailored for your language and logic.

Currently, it uses online AI agents for test cases generation, but an offline mode is coming soon. Stay tuned!


✨ Features

  • 🔍 Language-aware test generation (Python, C++) [more coming soon]
  • CLI-first experience - stay in your flow
  • 🧠 Powered by context-aware agents
  • 🌐 Syncs with your online dashboard
  • 🔐 Lightweight auth system
  • 📊 Usage tracking (for you and your team)

🚀 Installation

TestGenie requires Python 3.8+

Install directly from PyPI:

pip install test-genie

🛠 Usage

Generate test cases from your CLI:

test-genie generate --path path/to/your_file.py

You can also specify the language explicitly:

test-genie generate -pt path/to/your_file.cpp -l cpp

Authenticate once:

test-genie login

If you don't have an account, register quickly on our website: https://test-genie-psi.vercel.app/


🌐 Dashboard

Visit our dashboard (https://test-genie-psi.vercel.app/dashboard) to view your usage, premium status, recent generation history, and more.


💡 Use Cases

  • Quickly bootstrap test coverage on legacy projects
  • Generate starter tests for new logic
  • Empower junior devs with example-driven TDD

📦 Publishing / Contributing

Want to contribute or self-host the backend? Instructions are coming soon. For now, feel free to mail me at wadhwakushagra01@gmail.com


📃 License

MIT © 2025 TestGenie Team

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

test_genie-0.1.5.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

test_genie-0.1.5-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file test_genie-0.1.5.tar.gz.

File metadata

  • Download URL: test_genie-0.1.5.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for test_genie-0.1.5.tar.gz
Algorithm Hash digest
SHA256 7016a3046f5b4daa8afb57da6e0c600d6af278c478045ece7cf335d938689a05
MD5 801b3db4716d0509ba89809b0d8d355c
BLAKE2b-256 90ac0db45bdfd62bbd631f1c770c63c92f40b3e77296c9fa10acf2e15fcabc9f

See more details on using hashes here.

File details

Details for the file test_genie-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: test_genie-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for test_genie-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8de3a2121292b7d5ebba763b4dd9208415229a5ec546c8950e52c6b65913898c
MD5 97058e62c123f9a848c1baef9ab1f9b8
BLAKE2b-256 9fe8d289f55088b2d6a767f6884f757a9e2f0a64b8d936d205b4fa7c2de4ce4a

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