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 command to list all available step definitions #46

Closed
bowsersenior opened this issue Oct 27, 2012 · 6 comments
Closed

Add command to list all available step definitions #46

bowsersenior opened this issue Oct 27, 2012 · 6 comments
Assignees

Comments

@bowsersenior
Copy link
Contributor

There are a lot of step definitions in gauntlt, which fall into 2 categories:

  1. Those defined by gauntlt
  2. Those defined by aruba

This would look like:

$ gauntlt --steps

This feature will help users understand what they can do with gauntlt. It will also help us to pare down the number of steps to the number required and add an abstraction layer between gauntlt and aruba so that we can more easily drop our dependency on cucumber (either by using a replacement for aruba, or forking aruba to create a version of it that does not require cucumber).

@ghost ghost assigned bowsersenior Oct 27, 2012
@sarcilav
Copy link
Contributor

Hey Guys, I'm kind of new to the project, and I'm really looking forward for this feature, please let me know if someone has some work on progress for this, or if I can help with this

@bowsersenior
Copy link
Contributor Author

Definitely appreciate your help on this feature!

-Mani

Sent from my iPhone

On Mar 28, 2013, at 9:49 AM, Sebastian Arcila Valenzuela notifications@github.com wrote:

Hey Guys, I'm kind of new to the project, and I'm really looking forward for this feature, please let me know if someone has some work on progress for this, or if I can help with this


Reply to this email directly or view it on GitHub.

@sarcilav
Copy link
Contributor

hey @bowsersenior I've an initial implementation that shows something like https://gist.github.com/sarcilav/5266167 if you see it is also listing the steps from aruba, please let me know what do you think and what should I add, remove ... change

@bowsersenior
Copy link
Contributor Author

Fixed with #51. Thanks @sarcilav !

bowsersenior added a commit that referenced this issue Apr 1, 2013
Refactor Gauntlt::Attack
Refactor Gauntlt::Stepdef
Add cucumber feature for `gauntlt --steps`
@bowsersenior
Copy link
Contributor Author

Realized it would be beneficial to leverage the existing code in Gauntlt::Attack to call into the cucumber runtime. That way, all passed options will work with gauntlt --steps and future changes to the command line will be easier as a new `Gauntlt::Runtime`` class encapsulate cucumber's CLI and internals.

Also added a cuke feature for the gauntlt --steps command.

See: c4e4224

@sarcilav
Copy link
Contributor

sarcilav commented Apr 1, 2013

nice refactor :)
I still need to get more familiar with the code base of gauntlt

On Sun, Mar 31, 2013 at 10:38 PM, Mani Tadayon notifications@github.comwrote:

Realized it would be beneficial to leverage the existing code in
Gauntlt::Attack to call into the cucumber runtime. That way, all passed
options will work with gauntlt --steps and future changes to the command
line will be easier as a new Gauntlt::Runtime` class encapsulate
cucumber's CLI and internals.

Also added a cuke feature for the gauntlt --steps command.

See: c4e4224c4e4224


Reply to this email directly or view it on GitHubhttps://github.com//issues/46#issuecomment-15704939
.

Sebastián Arcila Valenzuela

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants