CodeFreemium

Testloom

Writes unit tests for the code paths your coverage report says nobody tests

About this tool

Testloom reads your coverage report, picks the least tested functions with the most callers and writes tests for them in your existing framework and style. Each generated test is run before it is proposed, and tests that pass trivially or only mirror the implementation are discarded.

Teams inheriting a codebase with thin coverage, or preparing for a large refactor, use it to build a safety net quickly. It opens small pull requests grouped by module so reviews stay manageable. It is strongest in TypeScript, Python, Go and Java; it struggles with code that depends heavily on global state or real network calls, where it suggests seams to add instead.

Highlights

  • 01Targets untested functions with the most callers
  • 02Runs every test and discards trivial ones
  • 03Small pull requests grouped by module

Tags

Related tools

More in Code
  • Open source

    Open-source test runner for prompts that compares models on your own examples

    Free4.5
    • evals
    • prompts
  • Freemium

    Generates Terraform from an architecture diagram and checks it against your policies

    From $39/mo4.1
    • Terraform
    • infrastructure
  • Paid

    Groups production errors and points to the commit that most likely caused them

    $29/seat/mo4.2
    • incidents
    • on-call
Live demo · Margin Notes AI— View template →