Thanks Jon, not sure if rspec consider to add some more interfaces like 
this in the future. Yeap, I think this private method is just ok for PoC 
things, we will try some other work around like adding some 'before' hooks 
for now.

在 2015年9月8日星期二 UTC+8上午11:54:09,Jon Rowe写道:
>
> There’s a private api on world that allows you access to the filtered 
> examples, because it’s private it’s subject to change in minor or patch 
> level increases but you could probably use it for a proof of concept at 
> least. `RSpec.world.filtered_examples`
>
> Jon Rowe
> ---------------------------
> [email protected] <javascript:>
> jonrowe.co.uk
>
> On Tuesday, 8 September 2015 at 13:32, [email protected] <javascript:> 
> wrote:
>
> We have a requirement to write a special test case to check what test 
> cases have been run during this time rspec run. As now we have some CI 
> pipelines which contain a step to run different set of test cases, so for 
> each pipeline, we want to add a special test case at the end of the rspec 
> run to check what set of test cases have been run, is there any Rspec API 
> to help do this?
>
> -- 
> 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] <javascript:>.
> To post to this group, send email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rspec/3b8ac764-2037-49ed-9ebb-9289129c4ee2%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/rspec/3b8ac764-2037-49ed-9ebb-9289129c4ee2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/b82c2e36-6123-4aff-94ba-20d0753e1a7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to