Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to test an addon with different app configs #148

Open
mehulkar opened this issue Mar 7, 2020 · 2 comments
Open

How to test an addon with different app configs #148

mehulkar opened this issue Mar 7, 2020 · 2 comments

Comments

@mehulkar
Copy link
Contributor

mehulkar commented Mar 7, 2020

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.

@Gaurav0
Copy link
Contributor

Gaurav0 commented Mar 7, 2020

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

@mehulkar
Copy link
Contributor Author

mehulkar commented Mar 7, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants