1. In your spec_helper you can do:
RSpec.configure {|config|
config.treat_symbols_as_metadata_keys_with_true_values = true
}
Then, on your example:
it 'should perform a search', :performance do
To run it:
rspec spec --tag performance *(mind the double dash)*
If you don't want/need the configuration change (which you should do unless
you have a very good reason) you can use the 'normal' way rspec does it:
https://www.relishapp.com/rspec/rspec-core/v/2-7/docs/command-line/tag-option
2. Just add the tag to the describe block:
describe "This awesome flow", :focus do
3. You can do it like this: https://github.com/rspec/rspec-core/issues/280
Thanks!
Oscar and Pedro pairing
On Tue, Dec 6, 2011 at 19:08, hillary <[email protected]> wrote:
> The newest version of taza has replaced taglob for running a spec by a
> tag. I've read up on rspec tags, but i can't seem to translate it to
> running my specs in taza.
> So my questions are:
>
> 1. How do i tag an individual test?
> 2. Is is possible to give an entire spec a tag?
> 3. What do I need to configure to run the tests through rake?
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]