> > RSpec is built around the premise that each example is run in its own > environment, and that one should not depend on the outcome of another. This > is not unique to RSpec, btw. It's how all of the unit testing frameworks of > which I am aware work. >
I know I'm going off-topic, but TestNG supports that. You can say that one tests depends on another and use the second one to both set up the fixture and assert behavior. But I don't like it either, since it smells of Fragile Test.
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users