Skip to content

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

@mtoygar

Description

@mtoygar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions