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 ddescribe, iit for exclusive suites,specs #50

Closed
schickling opened this issue Oct 3, 2013 · 4 comments
Closed

Add ddescribe, iit for exclusive suites,specs #50

schickling opened this issue Oct 3, 2013 · 4 comments

Comments

@schickling
Copy link

For the Javascript testing framework "Jasmine" @vojtajina proposed a cool feature which is kinda neat to use. I'd also like to see this feature in rspec.

More here

@myronmarston
Copy link
Member

RSpec already supports focusing example groups and specs using metadata:

https://relishapp.com/rspec/rspec-core/v/2-14/docs/filtering/inclusion-filters

It has a powerful config system that lets you define your own aliases for it with particular metadata:

https://www.relishapp.com/rspec/rspec-core/docs/configuration/alias-example-to#use-alias-example-to-to-define-focused-example

...and we're planning to add this capability for describe as well in RSpec 3:

rspec/rspec-core#870.

@schickling
Copy link
Author

Thanks for your response @myronmarston
I'm aware for that, I think writing iit is just faster and more convenient

@myronmarston
Copy link
Member

RSpec 2.14 has fit that does the same:

rspec/rspec-core#955

@schickling
Copy link
Author

Oh thanks!

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

2 participants