maltize/sublime-text-2-ruby-tests — Issue #42: Unable to run cucumber tests on Windows with syntax incorrect error
Author: nmunson
Created: 2012-02-02 16:01:39+00:00
State: open

I keep getting the following error when trying to run Cucumber tests on a Windows machine:

The filename, directory name, or volume label syntax is incorrect.

I saw this line in the debug logs:

DEBUG_EXEC: cd 'C:\FeatureTests\tests\' && cucumber --no-color features\platform_api\test.feature

Which does show the same error when running in a separate command prompt window. But I then edited the wrap_in_cd method to use double quotes:

def wrap_in_cd(path, command):
return "cd \"" + path + "\" && " + command

And it still shows the same error. Any ideas?