[Cucumber] How combine default RubyMine UI based formatter with html

Hello guys!

I've looked for some way to execute cucumber tests with custom html formatter + default RubyMine UI based formatter at the same time and unfortunately unsuccessfully.

I really like default UI based formatter for test execution in Real time, but as soon as I am specifying next line (for log output to html):

"--format SimpleHTMLFormatter --out C:\temp\logs\tests.html" in Run/Debug Configuration, default formatter is disappeared and I see only console log.

There is some solution for Rails projects described in Help, but I am using simple Ruby project (autotesting with Cucumber for Java web application).

Any ideas how can I do that?

Thanks a lot,
Roman Parashchenko

5 comments
Comment actions Permalink

"--format SimpleHTMLFormatter --out C:\temp\logs\tests.html" in Run/Debug Configuration, default formatter is disappeared and I see only console log.

If RubyMine detects that --format (-f) option was passed to test runner then it turns off GUI formatter. It is a feature for those, how prefers console formatters.

A you really need it? Why you want to see both reports at the same time?

0
Comment actions Permalink

Exactly!

I am automation test developer. I use Cucumber as runner for UI tests, and I have difficult html logger (generation xml during test execution and transformation it to html with xslt. HTML log contains big tables with data comparision (marked different colors for easy analyze)). In additional, I have console txt log with debug information.

So, in ideal, I need to run test, and see progress according to Cucumber steps, and have ability to see console log as well with debug information.
My HTML log consists from header page which is generated by Cucumber during test execution, and data pages which are generated before Ruby kernel exit ))).

Regards,
Roman Parashchenko

0
Comment actions Permalink

i find that i would like the same feature.

was there a request made?  

thanks!

jjm

0
Comment actions Permalink

I am not sure. It is not actual for me anymore, because I use RubyMine for development only, and terminal + Spork + Guard for test execution

0

Please sign in to leave a comment.