Skip to content

Node acceptance tests, round 2 #202

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

Merged
merged 4 commits into from
Jun 29, 2018
Merged

Node acceptance tests, round 2 #202

merged 4 commits into from
Jun 29, 2018

Conversation

dfreeman
Copy link
Member

@dfreeman dfreeman commented Apr 29, 2018

This PR contains an alternative approach to what @csantero started in #173. Rather than using ember-cli-addon-tests, it sets up a barebones "skeleton app" that we can interact with in acceptance tests.

Vitally, this app inherits its dependencies from the host addon rather than running through the whole process of installing its own. This speeds things up significantly and avoids the npm install step that can be a common point of failure in CI with ec-addon-tests. Very little of what's in skeleton-app and the corresponding fixture directory is actually unique to our needs in ember-cli-typescript, so we could consider factoring it out into a standalone library at some point in the future if it seems independently useful.

The bug fixed in #214 was originally caught by the tests on this branch, and the work I've been doing on type generation also makes use of the skeleton app helper.

@dfreeman dfreeman force-pushed the node-acceptance-tests branch 2 times, most recently from 6e425c4 to 84cbb10 Compare April 29, 2018 02:54
@dfreeman dfreeman force-pushed the node-acceptance-tests branch from 10ea433 to 63e85b7 Compare May 14, 2018 19:51
@dfreeman dfreeman force-pushed the node-acceptance-tests branch from 65e8f29 to 9f00685 Compare May 15, 2018 14:41
This was referenced May 21, 2018
@dfreeman dfreeman force-pushed the node-acceptance-tests branch from 50a1454 to c8607d2 Compare May 24, 2018 22:00
Copy link
Member

@chriskrycho chriskrycho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@chriskrycho chriskrycho merged commit 4d1a921 into master Jun 29, 2018
@chriskrycho chriskrycho deleted the node-acceptance-tests branch June 29, 2018 19:39
dfreeman pushed a commit that referenced this pull request Aug 21, 2018
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.

2 participants