You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a quick question, I used to be able to run the following:
ember exam:iterate 3 --options '---split 24 --parallel --random' but since upgrading to v0.6.2 I get the following error:
The option '--split 24 --parallel --random' is not registered with the exam:iterate command. Run `ember exam:iterate --help` for a list of supported options.
I just wanted to know if this was updated & what would be the correct way to pass these options to the iterate command.
Nothing changed within ember-exam itself that would cause that to happen. Is it an actual error or just a warning? Meaning, does the command still run correctly even after the message?
I suspect this is due to a change in the however Ember-CLI parses arguments.
@trentmwillis The command does not run correctly from what I am seeing. When I try and run the command provided in the description, it does not partition the tests on each iteration.
We determined that a bump of nopt caused the change, and are reverting to the older version.
I do want to suggest changing the way this works though 😛 . Instead of --options as a string that contains options I'd suggest something similar to what ember-try does to allow the exact command to be specified (but obviously choose a sensible default):
ember exam:iterate 3 -- ember exam --split 24 --parallel --random
Activity
trentmwillis commentedon Apr 14, 2017
Nothing changed within ember-exam itself that would cause that to happen. Is it an actual error or just a warning? Meaning, does the command still run correctly even after the message?
I suspect this is due to a change in the however Ember-CLI parses arguments.
christiancueto commentedon Apr 14, 2017
@trentmwillis The command does not run correctly from what I am seeing. When I try and run the command provided in the description, it does not partition the tests on each iteration.
trentmwillis commentedon Apr 14, 2017
Okay, I'll try to take a look at it this weekend and see if I can figure out what happened.
rwjblue commentedon Apr 27, 2017
We determined that a bump of
noptcaused the change, and are reverting to the older version.I do want to suggest changing the way this works though 😛 . Instead of
--optionsas a string that contains options I'd suggest something similar to whatember-trydoes to allow the exact command to be specified (but obviously choose a sensible default):trentmwillis commentedon May 1, 2017
Okay, so this was a bug upstream. That said, I agree with the change @rwjblue has suggested here.
rwjblue commentedon May 1, 2017
FYI - The upstream bug should have been fixed with ember-cli > 2.12.3.