Don't see stacktrace in Rubymine if code is inside 'hooks.rb' (Cucumber test)
I'm writing feature files using Cucumber, and using 'hooks' to setup my test (see: https://github.com/cucumber/cucumber/wiki/Hooks)
If code you use is put inside the 'hooks.rb' file, and it raises an error and displays a stacktrace, you will not see this output in the the "Run" window inside Rubymine. All you see is the test failed, but not the stacktrace.
If you go to the console and manually execute the test outside of Rubymine, you see the full output.
Not sure if this is a bug in Rubymine, or if there is something I'm not understanding. Anyone else run across this?
Rubymine version: 6.0.2 #RM 133.408
OS: OSX Mavericks 10.9
请先登录再写评论。
Hi,
this is a known problem - http://youtrack.jetbrains.com/issue/RUBY-13540
Regards, Oleg.