Serves mocks.
Mocktender is a test tracer that automatically records code behavior and replays it later, simplifying tests and mocks.
For example, testing a create post resolver, traditionally I would:
- Test the resolver with a DB stub.
- Test the DB integration with fake input.
- Test server integration with a resolver mock.
Using mocktender, I would only need to test the entrypoint (the server route). Then:
- Mocktender records the behavior across the server, resolver, and DB.
- Mocktender automatically isolates each to match traditional tests.
Check example
.
Only a proof of concept right now, but actively being developed.
If you need it, let me know — nizar.mah99@gmail.com. It can be reproduced in different languages.
- Test a codebase through its entrypoints.
- Eventually, only run codebase through tests.
- One day, simulate e2e tests with unit tests.
Check src
.