2
我正在使用如何设置测试状态中测试单元成功
gem 'test-unit'
Github上链接了一个试验:https://github.com/test-unit/test-unit
以及使用
gem 'ci_reporter'
Github上Link报告:https://github.com/ci-reporter/ci_reporter
Class Sample
def test_sample
# code
notify "Notification message"
end
end
测试单元宝石具有以下状态:
pending
omission
notification
pass
error
failure
的C记者宝石有以下状态:
Success
Failure
我正在使用测试单元通知状态进行了抽样检测。
使用ci-reporter gem生成报告时,它会显示具有故障状态的通知消息。
附参考
我需要证明与通知信息中的成功状态报告。怎么做?
您是否尝试过在通知后返回'0'或'1'? – Bala 2014-11-04 09:15:49
@Bala是试过了。但没有工作。 – karan 2014-11-04 10:04:56