阅读背景:

有没有一种很好的方法来调试RSpec(RSpec2)中与订单相关的测试失败?

来源:互联网 

Too often people write tests that don't clean up after themselves when they mess with state. Often this doesn't matter since objects tend to be torn down and recreated for most tests, but there are some unfortunate cases where there's global state on objects that persist for the entire test run, and when you run tests, that depend on and modify that global state, in a certain order, they fail.Too often people write tests that don't clean u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: