RSpec-inspired "sharedExamplesFor" and "itBehavesLike" #172

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@alexeits
alexeits commented Jan 7, 2012

A way to re-use groups of specs and suites in different contexts.

Shared example groups are defined using "sharedExamplesFor" and then realized in other contexts with "itBehavesLike".

@infews
Contributor
infews commented Jan 8, 2012

Thanks for the idea (which we've blogged about and discussed a lot on the list) and the work.

Since this technique can be used without introducing the concept of shared groups to the core code we're not going to pull this - Google groups is failing at the moment, but you can do a search in the mailing list for a how to.

@infews infews closed this Jan 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment