Viewing log output for tests run in RubyMine
Hi
When I run tests inside RubyMine I'd like to view the log output (e.g. like viewing test.log when running tests from the command line). Is it possible to do this? I can't figure out how
Olly
请先登录再写评论。
Hello Olly,
This functionality is supposed to work out of the box. It seems that something went wrong.
What kind of tests do you launch?
Regards,
Oleg
Hi Oleg
The log output goes to test.log, but it isn't echoed to the RubyMine console frame. Is there supposed to be a Server Log frame when running tests which shows this? I don't see that.
RubyMine 1.1.1.
Olly
Hi, Olly
Log can tab should be available only for Rails applications (even if you run tests). You should see something similar to tab Servel Log (see screenshot).

Test logs are not supported at the moment for plain Ruby applications, so please ensure you have rails gem installed and attached to your project.
Regards,
Oleg
Hi Oleg
I do have the Rails gem installed and attached, and Rails is also vendored in my project.
However, I've just tried RubyMine EAP 1.5 and it's now working -- I can see a TestUnit log window which wasn't visible in RubyMine 1.1
Olly
Hi Olly,
Glad to hear it works fine with latest EAP
Anyway we have plans to improve LOGs handling even in plain Ruby projects.
Regards,
Oleg