jessezach / RobotEyes

Image comparison for Robot Framework
MIT License
75 stars 24 forks source link

Choose report file destination #66

Closed kumy closed 4 years ago

kumy commented 4 years ago

Is your feature request related to a problem? Please describe. I would like to have the visualReport.html along with the Robot Framework output files (using -d command line parameter)

Describe the solution you'd like reportgen should support a new argument to choose destination directory. It also would be great if the automaatic report generation at the end of Robot Framework could inform reportgen about the value of it's -d command line parameter

Describe alternatives you've considered At the moment I use cp + sed in my Makefile to adapt generated filepath:

cp visualReport.html $(TRAVIS_BRANCH)/
cp -a visual_images docs/$(TRAVIS_BRANCH)/
sed -i 's@docs/$(TRAVIS_BRANCH)/@@g' docs/$(TRAVIS_BRANCH)/visualReport.html

Additional context

jessezach commented 4 years ago

Fixed in https://github.com/jz-jess/RobotEyes/pull/68 Fix will generate visualReport within the output directory. Will go out in release 1.5.0

Allowing to choose a custom directory will not be possible right now. Will probably pick that up for a later release

jessezach commented 4 years ago

Fix released in 1.5.0