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

usage of the --path option (and other valid ember test options) needs clarification #641

Open
mtoygar opened this issue Jan 7, 2021 · 0 comments

Comments

@mtoygar
Copy link

mtoygar commented Jan 7, 2021

when I read the docs I thought that --path option is only valid with the exam:iterate command.
https://github.com/ember-cli/ember-exam#randomization-iterator

It was not easy for me to understand that --path is also valid with the exam command also. The readme has the below quote regarding the ember test inheritance.

Using Ember Exam is fairly straightforward as it extends directly from the default Ember-CLI test command. So, by default, it will work exactly the same as ember test.

After running yarn run ember exam --help, valid options were more clear to me. But seeing the path option only for the exam:iterate mislead me initially. I believe that explicitly stating that all the other ember test options are also valid for ember exam on the docs site and/or README could be beneficial. When I visit the docs site and see the options section, I immediately think that these are the only valid CLI options, there is nothing more.
https://ember-cli.github.io/ember-exam/docs/randomization

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

1 participant