Passing cucumber specs on windows
I had some trouble getting cucumber test features to pass on Windows due to directory separator differences, something like:
Failing Scenarios: -cucumber features/background/failing_background.feature:8 # Scenario: failing background +cucumber features\background\failing_background.feature:8 # Scenario: failing background
There is an easy solution — run features with windows_mri profile, which results in the CUCUMBER_FORWARD_SLASH_PATHS environment variable being set to true.
cucumber features/background.feature:93 -p windows_mri