cli-guides icon indicating copy to clipboard operation
cli-guides copied to clipboard

How to test an addon with different app configs

Open mehulkar opened this issue 5 years ago • 2 comments

There's no documentation on how to test an addon with diffferent runtime configs.

I see some addons doing something like generate multiple apps with different config/environment.js files and run the test suite for this apps, but I have no idea how to do this right.

mehulkar avatar Mar 07 '20 05:03 mehulkar

The standard solution (for now) is ember-try, but it has plenty of gaps.

Gaurav0 avatar Mar 07 '20 05:03 Gaurav0

Oh neat, I thought ember-try just lets you change out the ember version and other deps, didn’t know it could change the config too. I will try that out

mehulkar avatar Mar 07 '20 06:03 mehulkar