Windowsでcucumber-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.
javascriptのbddにcucumber-jsを使用した人はいますか? specflow用にすでに書いたガーキンファイルを引き続き活用できるフレームワークは他にありますか?