Skip to content
代码片段 群组 项目
未验证 提交 26f5fe2b 编辑于 作者: 毛超's avatar 毛超
浏览文件

Make rspec limitation parametric

上级 09cdc22b
No related branches found
No related tags found
无相关合并请求
...@@ -10,7 +10,7 @@ module RSpecRunTime ...@@ -10,7 +10,7 @@ module RSpecRunTime
class RSpecFormatter < RSpec::Core::Formatters::BaseFormatter class RSpecFormatter < RSpec::Core::Formatters::BaseFormatter
include Tooling::Helpers::DurationFormatter include Tooling::Helpers::DurationFormatter
TIME_LIMIT_IN_MINUTES = 80 TIME_LIMIT_IN_MINUTES = Integer(ENV['RSPEC_TIME_LIMIT_IN_MINUTES'] || 80)
RSpec::Core::Formatters.register self, :example_group_started, :example_group_finished RSpec::Core::Formatters.register self, :example_group_started, :example_group_finished
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册