首页 > 其他 > 详细

rubymine配置 rspec

时间:2016-02-10 16:31:16      阅读:203      评论:0      收藏:0      [点我收藏+]

If you go in Run > Edit Configurations...


And select All Specs in <Your Project> you‘ll see Filename Mask: **/*_spec.rb

This means when you tell RubyMine to run "All Specs", it only runs files which match the regex.

Now when you add second file and you do require_relative to load the other one, so both the tests run.

 

技术分享

rubymine配置 rspec

原文:http://www.cnblogs.com/or2-/p/5185996.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!