[rspec-users] Any way to continue on Assertion Failure

2009-05-26 Thread Gary Lin
Hi, I wonder if there is any way to tell the test script to continue even when encountering an assertion failure? The reason I am asking this is because I have a test flow that can take a long time to run and it would be very useful if I can perform all verification at the end of test flow i

[rspec-users] How do I get additional information from the Matcher?

2009-05-20 Thread Gary Lin
Hi, I am trying to implement my own matcher which use a special algorithm to do the semantics diff-ing between two proprietary configuration file. When come to the report, I would like my formatter to be able to have access to the original configuration file content as well as the diff-ing r

[rspec-users] Using "return" in rspec test

2009-05-18 Thread Gary Lin
Hi, I am still new to rspec and I wonder if anyone can give me some insight about the problem I have encountered. I notice whenever I use "return" in my test, it will skip all the examples and exit right out of my test run. Here is a small example that demonstrate the problem: describe "Th