Comment #3 on issue 753 by nathon.py: Support colors on Windows console
http://code.google.com/p/robotframework/issues/detail?id=753
I have write some code to set the | PASS | and | FAIL | with color for DOS.
See attachment!
1.
All the files in directory 'robot2.5.5_with_color' you should put them in
C:\Python26\Lib\site-packages\robot\output.
Then you can run the command in DOS: pybot color_in_dos.html(
color_in_dos.html is a test file to see the color, you can find it in the
attachment)
You can see the | PASS | and | FAIL | with color.
2.
All the files in directory 'robot2.5.5_original' is for you to see what's
changed, in case you need.
3.
The file color_console.py is from
http://www.burgaud.com/bring-colors-to-the-windows-console-with-python/.
The code in this file under the MIT license.
4.
The robot version is 2.5.5.
Attachments:
console_color.zip 5.7 KB