Skip to content

Add testing section to addon guide#64

Open
simonihmig wants to merge 1 commit into
ember-fastboot:mainfrom
simonihmig:addon-testing
Open

Add testing section to addon guide#64
simonihmig wants to merge 1 commit into
ember-fastboot:mainfrom
simonihmig:addon-testing

Conversation

@simonihmig

Copy link
Copy Markdown
Contributor

Provides some explanations on how to test addons for FastBoot compatibility, including useful addon links.

@stefanpenner

Copy link
Copy Markdown
Contributor

@kratiahuja I think we want to revisit this, as the existing ember-cli-addon tests are a tad on the slow side right?

@simonihmig

Copy link
Copy Markdown
Contributor Author

You refer to running test straight from the addon's dummy app, right? I am not so sure you can always do that:

So I think ember-cli-addon-tests based testing has still its valid use cases, though when you can do the same using the dummy app, that is certainly preferable...

@kratiahuja

Copy link
Copy Markdown
Contributor

@simonihmig I think we can run ember-cli-fastboot test atleast using the dummy addon. Other addons may need to write FastBoot tests with testing against ember canary but we need to re-work the testing strategy in general. It is extremely slow and fragile to write tests using ember-cli-addon-tests since the copy and linking on npm packages and creating app takes a long time. Morevoer yarn doesn't work as well. Agreed we need a solution for addons but we need to make ember-cli-addon-tests fast first.

@sdhull

sdhull commented Nov 26, 2018

Copy link
Copy Markdown
Contributor

I won't pretend I've tried any of these packages (yet) but here's another (newer) one that looks promising: https://github.com/embermap/ember-cli-fastboot-testing/

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

Successfully merging this pull request may close these issues.

4 participants