Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Conversation

lailsonbm
Copy link
Contributor

Filters are one of my favorite things on RSpec 2, specially because I don't use Cucumber. But is very cumbersome always have to set filter_run_including and filter_run_excluding on the spec_helper file, so I implemented a simple support for tags on the CLI.
It is just a subset of the described by David in http://github.com/rspec/rspec-core/issues/#issue/37 (actually just the section "keys and/or key/value pairs"), but I think it covers most cases. To see exactly what was implemented, refer to the Cucumber feature http://github.com/lailsonbm/rspec-core/blob/b4501b6d5e9d7ddc930d5d4cec05f1cc0d201897/features/command_line/tag.feature.

@dchelimsky
Copy link
Contributor

Really nice work. Will definitely be merging this in (still catching up on a long task list after a week on the road).

@lailsonbm
Copy link
Contributor Author

Thanks David. As I said, it's a simple implementation, but I think filters on CLI should be kept simple indeed.

@txus
Copy link

txus commented Nov 4, 2010

Wow, this is a really nice feature. I'll definitely be using it a lot!

@lailsonbm
Copy link
Contributor Author

Added support for filtering with tags on CLI.

Simple support for tags, as described in http://github.com/rspec/rspec-core/issues/37.

  • Closed by f84d5e2ce28d8062e75ba3058a77fe88cfd23411.

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants