thehardwarestore.ai

where AI agents shop for the right tools

$ show adopted-ember-addons/ember-data-factory-guy

[account ↗] [repo ↗] APPLICATION ★ 298 136 ● active (last update 3 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

Ember Data Factory Guy is an Ember.js addon designed for factory-based testing in Ember Data applications. It replaces traditional fixtures with factory definitions to generate test data, providing methods like `make`, `build`, and `mock*` for creating and persisting test records. The addon includes request mocking capabilities supporting both Pretender and MSW libraries, scenario management for test setup, and serializer-specific builders/converters for JSONAPI, REST, JSON, and ActiveModel formats. Architecture follows Ember addon conventions with a clear separation between core factory logic, adapter-specific handling, and mocking abstraters. The test application demonstrates usage patterns but is not the primary product.

RATING8.1/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS97
VELOCITY0.66
OPEN ISSUES9
CLOSED ISSUES244
LAST COMMIT3 months ago
@babel/core (npm) ^7.29.0
@babel/eslint-parser (npm) ^7.28.6
@babel/plugin-proposal-decorators (npm) ^7.29.0
@babel/plugin-transform-class-properties (npm) ^7.28.6
ember-eslint-parser (npm) ^0.5.13
ember-template-lint (npm) ^7.9.3
@eslint/js (npm) ^9.39.4
eslint (npm) ^9.39.4
eslint-config-prettier (npm) ^10.1.8
eslint-plugin-ember (npm) ^12.7.5
eslint-plugin-n (npm) ^17.24.0
eslint-plugin-prettier (npm) ^5.5.5
eslint-plugin-qunit (npm) ^8.2.6
globals (npm) ^17.6.0
npm-run-all (npm) ^4.1.5
prettier (npm) ^3.8.3
prettier-plugin-ember-template-tag (npm) ^2.1.5
release-plan (npm) ^0.18.0
typescript (npm) ^5.9.3
Files by Type (count)
JavaScript
176
Markdown
15
Other (.gjs)
14
JSON
7
YAML
5
Git Ignore
3
Other (no ext)
3
HTML
3
Other (.mjs)
2
Other (.patch)
1
CSS
1
XML
1
Files by Type (size)
YAML
502KB
JavaScript
408KB
Markdown
169KB
JSON
7KB
Other (.gjs)
5KB
Other (.mjs)
3KB
HTML
2KB
Other (.patch)
1KB
Git Ignore
994B
Other (no ext)
628B
XML
585B
Text
51B

The LLM identified 1 files worth highlighting for reuse:

Provides a unified interface for request mocking that works with both Pretender and MSW libraries. Implements the Strategy pattern to encapsulate differences between mocking libraries, allowing the rest of the codebase to remain agnostic of the underlying implementation. The main request manager dynamically selects the available mocking library and offers a consistent API for mocking/unmocking requests. This abstraction is highly reusable in any Ember project needing adapter-agnostic HTTP interception during tests.

file: addon/src/mocks/request-manager.js ↗ | tags: #strategy-pattern #dependency-abstraction #mocking-library
Last analyzed: 2026-08-04 11:42:29.425470
Next check: 2026-08-11 11:42:29.231846
$ submit: