Ben Biddington

Whatever it is, it's not about "coding"

Posts Tagged ‘and-that

Passing cucumber specs on windows

leave a comment »

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.

Example

cucumber features/background.feature:93 -p windows_mri

Written by benbiddington

20 April, 2010 at 13:37

Posted in development

Tagged with , , ,

No oil painting

leave a comment »

Sunrise yesterday, the first day of summer time.

Perhaps the colours’re misleading — that camera has some vivid setting — but that is how it looked in real life.

Written by benbiddington

31 March, 2009 at 18:01

Posted in general

Tagged with , ,