Skip to main content

AI-powered CLI tool to auto-generate test cases for Python, C++, and Java code with both online and offline modes

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.

Offline Mode now available!


✨ Features

  • 🔍 Language-aware test generation (Python, C++, Java) [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://thetestgenie.com


🌐 Dashboard

Visit our dashboard (https://thetestgenie.com/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 testgenieofficial@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.2.3.tar.gz (52.0 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.2.3-py3-none-any.whl (66.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: test_genie-0.2.3.tar.gz
  • Upload date:
  • Size: 52.0 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.2.3.tar.gz
Algorithm Hash digest
SHA256 7610b698db0a7a7b2d491f1f97e12eb0487974c5d4d87d596535db23384093fc
MD5 fb1d66e2db05c691c11cd42177ab7272
BLAKE2b-256 dee7d2245f2a0cd932bdfacd1e0e8af68ba1747a685da1090bb6f8b4f7e0b0b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: test_genie-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 66.5 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.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e9ce67071e0e816071075c8ab154893fdbb2ccb8ecdecefcb656abbe1d25329b
MD5 01e21db0544fd02093638fb1f9ca21b9
BLAKE2b-256 a507ea712ba46eb2d5dca002c5e8ee51111e96b57319dea4b1329762797132f5

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