ZenTest的作者提出了[url=http://drnicwilliams.com/2007/05/22/functional-testing-using-a-matrix-to-cover-all-edge-cases-video/]Matrix Test[/url] ,并且在ZenTest里面提供了一个实现。
我前段时间实现了一个增强版的MatrixTest--[url]http://agilewebdevelopment.com/plugins/test_helpful[/url]
现在有一个项目转到[url=http://rspec.rubyforge.org/index.html]RSpec[/url]上了,我于是作了一个Matrix Test的RSpec实现-- [url]http://svn.nibirutech.com/opensource/plugins/matrix_spec/[/url]
RSpec的实现中,我实在没弄明白如何扩展RSpec,只好把方法调用放到 before(:each)里面,很是无奈。抽出时间再写README。
我前段时间实现了一个增强版的MatrixTest--[url]http://agilewebdevelopment.com/plugins/test_helpful[/url]
现在有一个项目转到[url=http://rspec.rubyforge.org/index.html]RSpec[/url]上了,我于是作了一个Matrix Test的RSpec实现-- [url]http://svn.nibirutech.com/opensource/plugins/matrix_spec/[/url]
RSpec的实现中,我实在没弄明白如何扩展RSpec,只好把方法调用放到 before(:each)里面,很是无奈。抽出时间再写README。