4 months ago
Tues Mar 25, 2025 11:23am PST
Show HN: Mocktender – Tool to simplify testing
I built a tool that traces code behavior and isolates fixtures.

Eg. traditionally, I need 3 tests for HN's “submit post” (server route, handler logic, DB query). With this tool, I need only 1 (entry-point aka server route).

This tool traces the behavior across the layers, and isolates them to match traditional tests.

It’s in early proof-of-concept stage, dogfooding, with a working example.

It has a long way to go, so I'd love feedback/contributions—especially on a subject like testing.

read article
comments:
add comment
loading comments...