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

Add a test-page option to the test command #4377

Merged
merged 1 commit into from
Jul 5, 2015

Conversation

jrjohnson
Copy link
Contributor

I took the less controversial path for fixing #4365. This adds a --test-page option to the test command which allows arbitrary query parameters to be passed for something like ember-cli-blankets ?coverage option.

eg

ember test --test-page=tests/index.html?hidepassedtests&coverage

The (admittedly biased) discussion in #4365 was in favor of adding a --coverage option. I'm worried that adding the option would imply coverage would run for new users even without an addon. On the other hand its a lot clearer what to do with --coverage as opposed to --test-page. Its a pretty simple change either way so all feedback welcome.

Allows arbitrary query parameters to be passed for something like
ember-cli-blankets ?coverage option.
@stefanpenner
Copy link
Contributor

@jrjohnson nice.

Bikeshedding some here, but --test-page seems more like --path?

@jrjohnson
Copy link
Contributor Author

I didn't want to stray to far from the testem.json value which is test_page, but other than that I have no attachment to it. Want me to switch it up?

@stefanpenner
Copy link
Contributor

👍

stefanpenner added a commit that referenced this pull request Jul 5, 2015
Add a test-page option to the test command
@stefanpenner stefanpenner merged commit f4844e6 into ember-cli:master Jul 5, 2015
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