【文件属性】:
文件名称:purdytest:minitest 的彩色输出
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-29 07:56:13
Ruby
purdytest
说明:
Purdytest 用漂亮的颜色扩展了 minitest。 只需要 minitest,然后需要 purdytest,你的终端上就有了彩色输出!
对于彩色差异输出,请确保安装了 `colordiff`。
特点/问题:
有用! (我认为)
如果您想要彩色差异,请确保已安装 [colordiff]( /)。 您通常可以通过 `brew install colordiff` 或 `port install colordiff` 安装 colordiff。
[这里是视频]( )
概要:
require 'minitest/autorun' # from minitest
require 'purdytest'
describe 'my amazing test' do
# generate many green dots!
50 . t
【文件预览】:
purdytest-master
----CHANGELOG.rdoc(62B)
----Rakefile(481B)
----test()
--------test_purdytest.rb(585B)
----.autotest(177B)
----README.rdoc(3KB)
----lib()
--------purdytest.rb(2KB)
----Manifest.txt(99B)