Hi Mailini

The closest parable would be the shared_examples functionality, see:

https://relishapp.com/rspec/rspec-core/v/3-8/docs/example-groups/shared-examples

You can define a bunch of specs within one and then either inject local 
variables (providing their static) for repeat usage, or use let’s to inject 
your changes.

Regards
Jon Rowe
---------------------------
[email protected]
jonrowe.co.uk

On 21 January 2019 at 11:30, [email protected] wrote:
> Hi Team,
> Is there any Equivalent option for Scenario outline in Rspec.
>
> Regards,
> Malini.SM (http://Malini.SM)
>
>
>
>
>
>

-- 
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/dejalu-217-b9cbc39f-2544-40f2-a16c-bb13a68bd229%40jonrowe.co.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to