Sometimes the ouput from a run test command does not contain a resolvable file name, which leads to the output raises an exception.<br>The enclosed patch fixes this problem (git diff). Here is an example where i used "raise user.to_yaml" to reproduce the problem:<br>
<br>Loaded suite /.../test/integration/planning_two_test<br>Started<br>E <br>Finished in 3.310817 seconds.<br><br>  1) Error:<br>test_planning_two(PlanningTwoTest):<br>RuntimeError: '--- <br>- !ruby/object:User <br>  attributes: <br>
    salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd<br>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:420:in `lstat': No such file or directory - /Users/knut/dev/dpm/VelociterScrum/src/velociterscrum/test/integration/updated_at: 2009-02-05 09 (Errno::ENOENT) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:420:in `realpath_rec' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:453:in `realpath' from /Users/knut/Library/Application Support/TextMate/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:81 from /Users/knut/Library/Application Support/TextMate/Support/lib/tm/executor.rb:103:in `call' from /Users/knut/Library/Application Support/TextMate/Support/lib/tm/executor.rb:103:in `run' from /Users/knut/Library/Application Support/TextMate/Support/lib/io.rb:55:in `call'     from /Users/knut/Library/Application Support/TextMate/Support/lib/io.rb:55:in `exhaust' from /Users/knut/Library/Application Support/TextMate/Support/lib/io.rb:55:in `each_line' from /Users/knut/Library/Application Support/TextMate/Support/lib/io.rb:55:in `exhaust'     from /Users/knut/Library/Application Support/TextMate/Support/lib/tm/process.rb:169:in `run' from /Users/knut/Library/Application Support/TextMate/Support/lib/tm/executor.rb:123:in `run' from /Users/knut/Library/Application Support/TextMate/Support/lib/tm/executor.rb:196:in `process_output_wrapper' from /Users/knut/Library/Application Support/TextMate/Support/lib/tm/executor.rb:122:in `run' from /Users/knut/Library/Application Support/TextMate/Support/lib/tm/htmloutput.rb:135:in `call' from /Users/knut/Library/Application Support/TextMate/Support/lib/tm/htmloutput.rb:135:in `show' from /Users/knut/Library/Application Support/TextMate/Support/lib/tm/executor.rb:97:in `run' from /Users/knut/Library/Application Support/TextMate/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:65<br>
<br>And the terminal result is:<br><br>Loaded suite integration/planning_two_test<br>Started<br>E<br>Finished in 3.28637 seconds.<br><br>  1) Error:<br>test_planning_two(PlanningTwoTest):<br>RuntimeError: --- <br>- !ruby/object:User <br>
  attributes: <br>    salt: 7e3041ebc2fc05a40c60028e2c4901a81035d3cd<br>    updated_at: 2009-02-05 08:44:13<br>    activated_at: <br>    crypted_password: 00742970dc9e6319f8019fd54864d3ea740f04b1<br>    deleted_at: <br>    initials: KS<br>
...intentionally left out...<br><br>    integration/planning_two_test.rb:99:in `estimates_and_assigns_resources'<br>    integration/planning_two_test.rb:97:in `each'<br>    integration/planning_two_test.rb:97:in `estimates_and_assigns_resources'<br>
    integration/planning_two_test.rb:25:in `test_planning_two'<br>    ./integration_test_helper.rb:8:in `instance_eval'<br>    ./integration_test_helper.rb:8:in `new_session'<br>    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:482:in `open_session'<br>
    ./integration_test_helper.rb:5:in `new_session'<br>    integration/planning_two_test.rb:14:in `test_planning_two'<br>    /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/testing/setup_and_teardown.rb:94:in `__send__'<br>
    /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/testing/setup_and_teardown.rb:94:in `run'<br>    /Library/Ruby/Gems/1.8/gems/actionpack-2.2.2/lib/action_controller/integration.rb:597:in `run'<br>
<br>1 tests, 139 assertions, 0 failures, 1 errors<br><br>