Dec. 21, 2009
11:54 p.m.
laurent laffont <laurent.laffont@...> writes:
Hi,
Isn't it similar to Thoughbot shoulda's nested contexts ? http://github.com/thoughtbot/shoulda
Yes it is, and no. Nested contexts from a tree, while test dependencies may possibly form a graph. At least when I last time looked at Shoulda and friends, the context were limited to a tree. A context can only be nested in at most one enclosing context. While with Phexample and friends, examples are nodes in a graph and may depend on as many other examples as required. cheers, AA