0
我已經在Windows服務器上安裝了Jenkins,並在同一臺服務器上設置了測試環境。詹金斯無法找到水豚的步驟定義
我有如下運行cmd命令作業:
set PATH=%PATH%;C:\Ruby200-x64\bin; cucumber C:\Users\Administrator\Documents\web-automation\features --tag @auth
,當我通過它工作正常,但在服務器上的CMD運行相同的命令詹金斯提供了有關未定義步驟的錯誤如下:
6 scenarios (6 undefined) 34 steps (34 undefined) 0m0.070s You can implement step definitions for undefined steps with these snippets: Given(/^I login to to system as "([^"]*)"$/) do |arg1| pending # Write code here that turns the phrase above into concrete actions end . . .
謝謝@ user3087106您的解決方案的工作原理。 –