An open API service indexing awesome lists of open source software.

https://github.com/adopted-ember-addons/ember-data-factory-guy

Factories and helper functions for (unit, integration, acceptance) testing + development scenarios with Ember Data
https://github.com/adopted-ember-addons/ember-data-factory-guy

ember-data factories testing

Last synced: 2 months ago
JSON representation

Factories and helper functions for (unit, integration, acceptance) testing + development scenarios with Ember Data

Awesome Lists containing this project

README

          

# Ember Data Factory Guy

[![Build Status](https://github.com/adopted-ember-addons/ember-data-factory-guy/actions/workflows/ci.yml/badge.svg)](https://github.com/adopted-ember-addons/ember-data-factory-guy/actions/workflows/ci.yml) [![Ember Observer Score](http://emberobserver.com/badges/ember-data-factory-guy.svg)](http://emberobserver.com/addons/ember-data-factory-guy) [![npm version](https://badge.fury.io/js/ember-data-factory-guy.svg)](http://badge.fury.io/js/ember-data-factory-guy)

Feel the thrill and enjoyment of testing when using Factories instead of Fixtures.
Factories simplify the process of testing, making you more efficient and your tests more readable.

`npm install ember-data-factory-guy`

## Features

- 🚀 Easily push models to the Store, even complex relationships
- ⚡️️ Simple, Powerful, & Intuitive API
- ⭐ Works out of the box with your existing customized serializers and adapters
- 💎 Multiple build strategies
- 🕵️ Intercept and spy on Store requests
- 🕐 Slow down response times

## Getting Started

- [Overview](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/overview)
- [Quick Start](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/quick-start)
- [Assumptions](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/assumptions)
- [Defining factories](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/defining-factories)
- [Using factories](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/using-factories)
- [Mocking the store](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/using-mock-methods)
- [Request Manager](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/request-manager)
- [Advanced](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/advanced)
- [Upgrading](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/upgrading)
- [to v8](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/upgrading?id=to-v8)
- [to v7](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/upgrading?id=to-v7)
- [to v6](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/upgrading?id=to-v6)
- [to v5](https://adopted-ember-addons.github.io/ember-data-factory-guy/#/upgrading?id=to-v5)

## Questions / Get in Touch

Visit the EmberJS Community on [Discord](https://discord.com/channels/480462759797063690/483601670685720591).

## Contributing

see [`CONTRIBUTING.md`](CONTRIBUTING.md) and [`RELEASE.md`](RELEASE.md)

## License

This project is licensed under the [MIT License](LICENSE).