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

5 comments
Comment actions Permalink

Hello Olly,

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

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

0
Comment actions Permalink

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

0
Comment actions Permalink

Hi, Olly

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.

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).
rails_log.jpg
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

0
Comment actions Permalink

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

0
Comment actions Permalink

Hi Olly,

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

Glad to hear it works fine with latest EAP
Anyway we have plans to improve LOGs handling even in plain Ruby projects.

Regards,
Oleg

0

Please sign in to leave a comment.