Show HN: Mocktender – Tool to simplify testing (github.com)
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.
2 comments
[ 3.1 ms ] story [ 15.8 ms ] thread