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

Make commands configurable and add try:each command, soft-deprecating testall #59

Merged
merged 6 commits into from
Feb 19, 2016

Conversation

kategengler
Copy link
Member

Commands can now be specified in configuration, both top-level and under each scenario.

New command ember try:each that is an exact replacement for ember try:testall, with a new name that better fits the ability to configure commands. ember try:testall still works.

Documentation commit coming soon.

- Can be specified top-level or per scenario as 'command'
- Per scenario wins.
- If the ember-try command allows specifying the command at runtime and
  that option is taken, that command wins.

This config applies to `ember try` and `ember try:testall`, perhaps
counterintuitively, but `ember try:testall` still defaults to running
`ember test`.

- New test helper to mock `run`. It has, perhaps, too much knowledge of
  internals, but is preferable to that knowledge being spread throughout
  the tests.
- Commands from configuration can now be used with `ember try`
- Does exact same as testall, but has a name that accomodates being able
  to configure commands
kategengler added a commit that referenced this pull request Feb 19, 2016
Make commands configurable and add `try:each` command, soft-deprecating `testall`
@kategengler kategengler merged commit 5cd90cf into master Feb 19, 2016
@kategengler kategengler deleted the kg-accept-commands-from-config branch February 19, 2016 06:18
luxzeitlos pushed a commit to luxzeitlos/ember-try that referenced this pull request Sep 27, 2017
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.

1 participant