[rspec-users] Does rspec support something like Assumptions in JUnit 4.4?

mortench mortench at gmail.com
Mon Jun 1 15:57:48 EDT 2009


On Jun 1, 8:04 pm, Arthur Smith <apsm... at aps.org> wrote:
> I thought the point was we don't want the examples to be run at all, if
> the condition is not met?

Yes.

>Though I'm wondering why not just handle
> something like this with a stub (on System.getProperty in this case)?

Because the examples need the info in the property to work. The
property provides
reference values that the test use to compare against. Hence it makes
no sense to stub
anything out.

ALL: Thanks for all the help!

/Morten


More information about the rspec-users mailing list