Cucumber not showing coloured output in windows

前端 未结 2 746
礼貌的吻别
礼貌的吻别 2021-01-31 18:51

this is probably something really stupid but I can\'t work it out.

I upgraded my version of cucumber to v 0.10.0 and now the test\'s (running on Win 7) are not showing c

2条回答
  •  隐瞒了意图╮
    2021-01-31 19:12

    One of the dev's at my work figured it out.

    You need to

    1. Download Ansicon from https://github.com/adoxa/ansicon/downloads and unzip it into a directory
      with no spaces
    2. Open a command prompt and cd to the folder where you unzipped it
    3. Now, cd into either x86 or x64 (depending on your machine’s processor) and install it globally on
      your machine (For example, D:\Cucumber\ansi160\x64)
    4. Type ansicon.exe –i OR ansicon -i and press Enter
    5. Any program that prints ANSI colors will now display properly on your machine.

提交回复
热议问题