Are there any good mutation testing tools for ruby 1.9 and RSpec2?

*爱你&永不变心* 提交于 2019-12-02 23:00:17
J_McCaffrey

Have you looked into the Mutant gem?

It works with Rspec.

There is a nice tutorial here

$ gem install mutant-rspec

$ mutant -I lib -r your_library --use rspec "YourClass#method_to_mess_with"

Chaser also works with a mutation testing framework exemplor: exemplor-chaser.

Unfortunately, the creator of chaser has the attention span of a goldfish and isn't maintaining it any more. He's kind of interested in mutant, and also in seeing if heckle can be modified to use ruby_parser rather than ParseTree.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!