我有一個public文件夾來提供靜態(tài)資源。我編寫了使用 Convey 將靜態(tài)內(nèi)容保存在此文件夾中的測試。由于在公共文件夾中創(chuàng)建了新文件,它陷入了無休止的循環(huán)中。integration.go:120: File system state modified, publishing current folders... 1452848214 1452848215我怎樣才能跳過這個文件夾?我嘗試將.goconvey文件添加到文件夾中,ignore但它不起作用。任何建議,如何跳過觀看該文件夾?
1 回答

回首憶惘然
TA貢獻1847條經(jīng)驗 獲得超11個贊
GoConvey 中有一個標志可以幫助跳過這些文件夾。
goconvey -excludedDirs="public"
https://github.com/smartystreets/goconvey/blob/master/goconvey.go#L44
來源:https : //github.com/smartystreets/goconvey/issues/383
- 1 回答
- 0 關(guān)注
- 229 瀏覽
添加回答
舉報
0/150
提交
取消