TestGenius

Generate unit tests with AI

Connect to GitHub
Connect your GitHub repository to generate test cases

Create a token at github.com/settings/tokens

Format: owner/repository-name (e.g., facebook/react)

Your token is stored securely and only used to access your repository

Getting Started

To connect to GitHub, you'll need a Personal Access Token with 'repo' permissions.

Steps to use this application:

  • 1Create a GitHub Personal Access Token
  • 2Enter your token and repository (format: username/repo-name)
  • 3Browse and select code files you want to generate tests for
  • 4Click "Generate Test Cases" to get AI suggestions
  • 5Generate actual test code and optionally create a PR

Supported Languages: JavaScript, TypeScript, Python, Java, Go, Rust

Test Frameworks: Jest, JUnit, pytest (automatically detected)