我在Windows中制作黄瓜-js时遇到了严重的麻烦。
我开始考虑是否值得,我花时间安装node.js和黄瓜。
我从.msi文件安装了node.js.它没问题。
我从package.json
本地安装了黄瓜已在我的项目文件夹下创建了node_modules文件夹。
文件夹名称.bin中有一个名为cucumber.js的文件
所以当我通过命令行点击该文件时,我收到了一个错误说明字符错误
#!/bin/sh
if [ -x "`dirname "$0"`/node" ]; then
"`dirname "$0"`/node" "`dirname "$0"`/./node_modules/cucumber/bin/cucumber.js" "$@"
ret=$?
else
node "`dirname "$0"`/./node_modules/cucumber/bin/cucumber.js" "$@"
ret=$?
fi
exit $ret
#!/bin/sh this shebang did not recognized and gives script error. is this thing pythonish thing? should i install python.
有没有人将jed-js用于bdd for javascript?有没有其他框架,我可以继续利用我已经为specflow编写的小黄瓜文件?