1
我需要在我的TeamCity環境中作爲構建步驟運行我的所有單元測試,作爲一個webcomponents集合(您可能會認爲TeamCity始終是最新的)。我不知道從哪裏開始。任何建議將不勝感激。獲取在TeamCity CI中運行的聚合物Webcomponent測試器
我需要在我的TeamCity環境中作爲構建步驟運行我的所有單元測試,作爲一個webcomponents集合(您可能會認爲TeamCity始終是最新的)。我不知道從哪裏開始。任何建議將不勝感激。獲取在TeamCity CI中運行的聚合物Webcomponent測試器
在TeamCity的生成配置,添加命令行構建步驟如下圖所示:
npm install
npm run bower -- install
npm test
您package.json
可以有scripts
定義爲:
"scripts": {
"gulp": "gulp",
"bower": "bower",
"wct": "wct",
"test": "gulp build && wct"
},
你有suacelabs帳戶?如果是這樣,wct已經建立了對saucelabs的支持 – abendigo