When I run a unit test the results are displayed poorly:
Loaded suite /Applications/TextMate.app/Contents/SharedSupport/ Bundles/Ruby.tmbundle/Support/tmruby Started .F Finished in 0.008257 seconds. 1) Failure: test_outOfRange(TestIntTypes) [/Users/dave/Chips/ DES/bitsteam/decoder/tests/tc_intTypes.rb:40]: exception expected but was Class: Message: <"uint4 t_uint4 has value: -1 (out of expected range)"> ---Backtrace--- (eval):4:in `t_uint4=' /Users/dave/Chips/DES/ bitsteam/decoder/tests/tc_intTypes.rb:40:in `test_outOfRange' /Users/ dave/Chips/DES/bitsteam/decoder/tests/tc_intTypes.rb:40:in `test_outOfRange' --------------- 2 tests, 12 assertions, 1 failures, 0 errors
- it looks like the \n are being ignored. I run the tests by using command R in the test file.
When I run from the terminal I get:
Loaded suite tc_intTypes Started .F Finished in 0.015976 seconds.
1) Failure: test_outOfRange(TestIntTypes) [tc_intTypes.rb:40]: <SyntaxElementError> exception expected but was Class: <RuntimeError> Message: <"uint4 t_uint4 has value: -1 (out of expected range)"> ---Backtrace--- (eval):4:in `t_uint4=' tc_intTypes.rb:40:in `test_outOfRange' tc_intTypes.rb:40:in `test_outOfRange' ---------------
2 tests, 12 assertions, 1 failures, 0 errors
Do I have something configured wrong?
Thanks,
Dave.