0

Cucumber gives coloured output in Windows 7 (64-bit) command prompt with ANSICON 1.6.0, but no longer in the ConEmu terminal manager.

Cucumber

  • Cucumber.yml exists in \config folder
  • Cucumber.yml contains default: --color

ConEmu

  • Settings > Features > Inject ConEmuHk is checked
  • Settings > Features > ANSI X3.64 / xterm 256 colors is checked
  • %ConEmuANSI% returns "ON"
  • ls --color does return coloured output
  • Version status: 141004 preview

ConEmu appears to be fine, yet Cucumber appears to be configured correctly as well considering coloured output works in the command prompt. Any ideas?

Example output from Cucumber, as requested (these passing steps would previously show in green):

 Scenario: Visit the client site        # client\features\age_gate.feature:8
    Given I am a new visitor            # client/features/step_definitions/age_gate.rb:1
    When I visit the client website     # client/features/support/navigation.rb:1
    Then I am shown the age gate        # client/features/step_definitions/age_gate.rb:6
Wilco van Esch
  • 457
  • 1
  • 7
  • 17
  • You've not shown what cucumber prints. – Maximus Jan 23 '15 at 11:44
  • Thanks Maximus. Have edited the question with ConEmu version and example output (cannot show screenshots). – Wilco van Esch Jan 23 '15 at 12:24
  • Three months old build? Really? Update to last alpha. – Maximus Jan 23 '15 at 16:03
  • Wish something less simple would have fixed it, but that did it! Wonder what made it stop working, since I did have coloured output in that version for a while. Anyway, thanks for the solution and for ConEmu. When you post it as an answer, I'll accept it. – Wilco van Esch Jan 23 '15 at 17:51

1 Answers1

0

Old build was used. Update to latest alpha.

Maximus
  • 10,751
  • 8
  • 47
  • 65