{"library":"orchid-orm-test-factory","type":"library","category":null,"description":"Orchid ORM Test Factory is a companion library for Orchid ORM that simplifies creating mock data for tests. Version 1.0.130 is the current stable release, updated regularly alongside Orchid ORM. It uses @faker-js/faker for generating realistic fake data and provides a declarative API to define factories for database models. Unlike generic factories, it integrates directly with Orchid ORM's model layers, supporting associations, custom column types, and lifecycle hooks. The factory is type-safe, fully typed with TypeScript, and designed for seamless use in integration or unit tests.","language":"javascript","status":"active","version":"1.0.130","tags":["javascript","factory","orchid-orm","test","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install orchid-orm-test-factory","imports":["import { factory } from 'orchid-orm-test-factory'","import { defineFactory } from 'orchid-orm-test-factory'","import { FactoryOrCallback } from 'orchid-orm-test-factory'"]},{"cmd":"yarn add orchid-orm-test-factory","imports":[]},{"cmd":"pnpm add orchid-orm-test-factory","imports":[]}],"homepage":"https://orchid-orm.netlify.app/guide/orm-test-factories.html","github":"https://github.com/romeerez/orchid-orm","docs":null,"changelog":null,"pypi":null,"npm":"orchid-orm-test-factory","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}