Skip to content

Remove unused testing helper files.#7546

Merged
rwjblue merged 2 commits intoember-cli:betafrom
rwjblue:remove-extraneous-test-files
Jan 12, 2018
Merged

Remove unused testing helper files.#7546
rwjblue merged 2 commits intoember-cli:betafrom
rwjblue:remove-extraneous-test-files

Conversation

@rwjblue
Copy link
Copy Markdown
Member

@rwjblue rwjblue commented Jan 11, 2018

As of ember-source@3.0.0 (and ember-data@3.0.0) the testing blueprints
are automatically emitting emberjs/rfcs#232 or emberjs/rfcs#268
compatible output. With those, these helpers are no longer used for new
apps.

Existing apps should only delete these files once they have migrated to
the new testing system...

@kellyselden
Copy link
Copy Markdown
Member

We noticed on the call that some addons are putting things in these files. We will need to be aware of this.

@rwjblue rwjblue force-pushed the remove-extraneous-test-files branch 5 times, most recently from fdcc73b to 9e6e1b1 Compare January 12, 2018 01:30
Robert Jackson added 2 commits January 11, 2018 21:02
As of ember-source@3.0.0 (and ember-data@3.0.0) the testing blueprints
are automatically emitting emberjs/rfcs#232 or emberjs/rfcs#268
compatible output. With those, these helpers are no longer used for new
apps.

Existing apps should only delete these files once they have migrated to
the new testing system...
This option was added at a time where the default ember-cli blueprint
did not include any eslint config (it was housed in ember-cli-eslint
itself and only added during `ember new` by running the
`ember-cli-eslint` blueprint). At that time a basic ESLint config was
needed to prevent tests from completely blowing up, so this option was
added...

Fast-forward to the present: the default eslint configuration is now
managed by ember-cli itself, and this override option is not providing
value (in fact it is adding pain because it does not confirm the default
blueprint passes linting).

This commit removes the now unneeded feature...
@rwjblue rwjblue force-pushed the remove-extraneous-test-files branch from 9e6e1b1 to b8739d2 Compare January 12, 2018 02:02
@rwjblue rwjblue merged commit 30b1826 into ember-cli:beta Jan 12, 2018
@rwjblue rwjblue deleted the remove-extraneous-test-files branch January 12, 2018 02:15
@0xadada
Copy link
Copy Markdown

0xadada commented Jan 17, 2018

@rwjblue i'm using the new QUnit API, but for an instance initializer test, i'm still using startApp and destroyApp, what would the replacement be in the new testing world?

example: https://github.com/mirai-audio/mir/blob/16/library/tests/unit/instance-initializers/i18n-test.js#L36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants