aiiie / cram

Functional tests for command line applications
GNU General Public License v2.0
199 stars 51 forks source link

Compatibility with windows #16

Closed AlexeySanko closed 7 years ago

AlexeySanko commented 7 years ago

Now I'm not sure that compatibility with Windows is good idea...

mihaipopescu commented 7 years ago

@AlexeySanko For Windows, you just need to use bash as a shell. We're using shell.w32 with relative success.

AlexeySanko commented 7 years ago

@mihaipopescu, previuosly Windows didn't contain bash by default. But now I'm not sure that supporing Windows shell is required (I started to use virtualbox with Linux).

mihaipopescu commented 7 years ago

What I was actually trying to tell you is that you can more or less use cram on windows if you pass --shell c:\shell.w32\bash.exe.

If switching in a VM may have solved your issue, testing in a native windows environment is a different thing. Now, Windows 10 comes with bash in the Windows Linux Subsystem. You can try that as well.