Calabash 的 .gitignore

适用于 Calabash 的 7 条忽略规则,可直接复制到您的仓库。

移动应用测试框架

Calabash 的完整 .gitignore

# 由 LFGitignore - https://lfgitignore.com 生成
# 创建:2026-10-31 23:00:49 UTC
# 技术:Calabash

### Calabash ###
rerun/
reports/
screenshots/
screenshot*.png
test-servers/
.bundle
vendor

这些 Calabash 规则实际上忽略了什么

以下列出了每个忽略模式及其加入 .gitignore 的原因。

Calabash / Cucumber 测试文件

模式 忽略的内容
rerun/ Calabash / Cucumber 测试文件
reports/ Calabash / Cucumber 测试文件
screenshots/ Calabash / Cucumber 测试文件
screenshot*.png Calabash / Cucumber 测试文件
test-servers/ Calabash / Cucumber 测试文件
.bundle bundler
vendor Calabash / Cucumber 测试文件

如何将此 .gitignore 用于 Calabash

  1. 复制上面的Calabash规则,或者直接下载文件。
  2. 在 Git 仓库根目录创建名为 .gitignore 的文件,并将规则粘贴进去。
  3. 如果其中一些文件已被跟踪,请运行 git rm -r --cached . 然后再次提交 - Git 仅将忽略规则应用于未跟踪的文件。
  4. 提交 .gitignore 以便团队中的每个人都共享相同的规则。

其他 测试 .gitignore 模板

查看每个 测试 模板