jackfranklin

jackfranklin/test-data-bot

TypeScript
669
36
MIT License

This is a JavaScript library for generating fake but realistic test data, inspired by Ruby's Factory Bot. It provides builders that let you define reusable templates for creating objects with unique IDs, random values, or controlled overrides, making unit tests more consistent and realistic. The tool is framework-agnostic, works with any test runner, and includes TypeScript support for type safety. It's aimed at developers writing unit tests who want to avoid hardcoding test data and instead use generated, realistic-looking objects.

Total donated
Undistributed
Share with your subscribers: