TestGenie - AI-Powered Unit Tests

TestGenie watches each pull-request, analyzes the code changes, and automatically drafts new unit tests to boost coverage and catch edge-case bugs.

0 StarsMIT LicenseSetup Time 5 Minutes
AIGitHubTestingDevOps

Overview & Instructions


TestGenie watches each pull-request, analyzes the code changes, and automatically drafts new unit tests to boost coverage and catch edge-case bugs.

Features:

  • TestgenieContextInitializer – validates inputs and captures event payload.
  • GithubPrAnalyzer – downloads the PR diff and discovers existing tests.
  • TestgenieAiGenerator – lets an LLM propose and render new unit tests.
  • TestgeniePrCreator – commits the generated tests and opens/updates a companion PR.

How to Use:

  1. Click the Deploy on WaveAssist button below.
  2. Configure required variables: repository_url, testgenie_generated_tests, test_framework, pr_numbers, repo_url, coverage_threshold, pull_request_number, testgenie_diff, testgenie_existing_tests, OPENAI_API_KEY, testgenie_event_payload, testgenie_ai_suggestions, testgenie_pr_branch, testgenie_pr_url, github_access_token, testgenie_changed_python_files.
  3. Run the nodes in order:
    testgenie_context_initializer – Context initialization
    github_pr_analyzer – Fetch diff & files
    testgenie_ai_generator – Generate tests with GPT
    testgenie_pr_creator – Push branch & create PR
  4. Confirm the workflow executes successfully.

Repo URL: Coming soon Loom Demo: Coming soon

AIGitHubTestingDevOps
TestGenie - AI-Powered Unit Tests

TestGenie - AI-Powered Unit Tests

TestGenie watches each pull-request, analyzes the code changes, and automatically drafts new unit tests to boost coverage and catch edge-case bugs.

AIGitHubTestingDevOps