Hi Skye,

Can you describe your use case, why would examples need to know that?

- Phil

> On 19 Jul 2022, at 19:57, sshaw <[email protected]> wrote:
> 
> If one calls with: 
> 
>     rspec -t ~foo
> 
> Is it possible to determine from the spec code, in or out of an example, that 
> the current invocation specifies running examples without the foo tag?
> 
> I have looked at doing this at the example level via the RSpec::Core::Example 
> instance passed to the block as well as poking around in RSpec.configuration 
> but cannot find that foo tag has been excluded. Is it even possible? 
> 
> Thanks
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "rspec" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rspec/bc6d474c-d4ac-49b1-ad46-4fb278d1e6c1n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/FE55E22D-CC09-480E-81DE-DF7A290132EB%40gmail.com.

Reply via email to