It’s been quite a while but I have some news to report on this subject.
I successfully integrated
ember-cli-mirage into a project in the sense that I replicated my
Pretender setups to now both run through
ember-cli-mirage. That’s actually pretty great. It lets me use fresh data in console-based testing.
It was a slog rewriting the rules from both the latter systems into the former, but now I have only one set of rules to update and it feels good man.
The other thing is though, I am still using json dumps from my API rather than any of the on-the-fly model creation features. This is something I will pursue in future.
However, at present there are a couple of roadblocks to merging into our master branch:
- The Faker/faker issue related to case sensitivity of an npm dependency. (it breaks our linux CI build)
- The need to refactor both
ember-cli-mirage and our own project to use the same
I will continue to update this with some other information.