是否有使用ruby在测试单元中进行rake测试的记录语句

时间:2016-03-04 05:02:27

标签: ruby rake testunit

我在红宝石中进行rake测试。

当我运行rake测试时,我得到以下输出

rake TEST=test_cases/test.rb 

/home/ubuntu/.rvm/rubies/ruby-2.0.0-p247/bin/ruby -I"helpers" -I"/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@test/gems/rake-10.1.0/lib" "/home/karunakaran/.rvm/gems/ruby-2.0.0-p247@test/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test_cases/test.rb" 
Loaded suite /home/ubuntu/.rvm/gems/ruby-2.0.0-p247@test/gems/rake-10.1.0/lib/rake/rake_test_loader
Started
.

Finished in 64.385604437 seconds.

1 tests, 16 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed

0.02 tests/s, 3.35 assertions/s

我希望测试套件的记录至少是最低限度,而只是为每个测试显示点(。)

如下所示测试日​​志记录或以分步方式进行任何日志记录

Testname started
Running testname..
Error will display if we get any error
Testname completed

0 个答案:

没有答案