djberg96 ([info]djberg96) wrote,
@ 2009-10-22 09:34:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Current mood: cheerful
Entry tags:ruby, tap, testing

Test::Unit 2.x, now with TAP
The test-unit gem now supports a TAP runner.

dberger@file-temp>ruby -Ilib test/test_file_temp.rb --runner tap
1..9
ok 1 - test_file_temp_auto_delete(TC_File_Temp)
ok 2 - test_file_temp_expected_errors(TC_File_Temp)
ok 3 - test_file_temp_name(TC_File_Temp)
ok 4 - test_file_temp_name_basic_functionality(TC_File_Temp)
ok 5 - test_file_temp_no_delete(TC_File_Temp)
ok 6 - test_file_temp_no_delete_with_template(TC_File_Temp)
ok 7 - test_file_temp_threaded(TC_File_Temp)
ok 8 - test_file_temp_tmpdir(TC_File_Temp)
ok 9 - test_file_temp_version(TC_File_Temp)
# Finished in 0.160204 seconds.
# 9 tests, 20 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications

There is also Bacon.



Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…