minitest-reporters:创建可定制的MiniTest输出格式

时间:2021-05-01 15:44:49
【文件属性】:
文件名称:minitest-reporters:创建可定制的MiniTest输出格式
文件大小:226KB
文件格式:ZIP
更新时间:2021-05-01 15:44:49
Ruby minitest-reporters-创建可定制的Minitest输出格式 死于乱七八糟的猴子! 通过简单的钩子扩展Minitest。 安装 gem install minitest-reporters 用法 在您的test_helper.rb文件中,添加以下行: require "minitest/reporters" Minitest :: Reporters . use! 这会将Minitest运行器换成minitest-reporters使用的自定义运行器,并为Textmate,Rubymine和控制台使用正确的报告器。 如果您想编写自己的报告程序,只需include Minitest::Reporter并覆盖您想要的方法即可。 查看提供的示例记者。 不喜欢默认的进度条记者吗? Minitest :: Reporters . use! Minitest :: Report
【文件预览】:
minitest-reporters-master
----minitest-reporters.gemspec(1KB)
----lib()
--------minitest()
----Gemfile(38B)
----.ruby-gemset(19B)
----Rakefile(2KB)
----.travis.yml(248B)
----LICENSE(1KB)
----assets()
--------spec-reporter.png(40KB)
--------default-reporter.png(41KB)
--------mean_time_reporter.png(64KB)
--------progress-reporter.png(43KB)
----test()
--------test_helper.rb(702B)
--------integration()
--------fixtures()
--------gallery()
--------unit()
----README.md(6KB)
----.rubocop.yml(957B)
----appveyor.yml(304B)
----.yardopts(172B)
----.gitignore(252B)
----CHANGELOG.md(9KB)

网友评论