1

我有一个public文件夹来提供静态资源。我使用 Convey 编写了测试以将静态内容保存在此文件夹中。

由于在公用文件夹中创建了新文件,它陷入了一个永无止境的循环。

integration.go:120: File system state modified, publishing current folders... 1452848214 1452848215

我怎样才能跳过这个文件夹?我尝试将.goconvey文件添加到文件夹中,ignore但它不起作用。

任何建议,如何跳过观看该文件夹?

4

1 回答 1

3

GoConvey 中有一个标志可以帮助跳过这些文件夹。

goconvey -excludedDirs="public"

https://github.com/smartystreets/goconvey/blob/master/goconvey.go#L44

来源:https ://github.com/smartystreets/goconvey/issues/383

于 2016-01-15T18:38:49.367 回答