阅读背景:

使用Ruby和Minitest,如何使用不同的数据运行相同的测试用例,仅由列表控制

来源:互联网 

I have Ruby 2.0 code that operates on phone numbers, which I want to test using MiniTest. I have a function which takes a phone number arguments and tests it (including asserts). Each time I call that function, I want it to be a new test case. Something like this:I have Ruby 2.0 code that operates on phone num




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

分享到: