工具介绍
RSpec 可测试由 CFEngine、Puppet、Chef、Ansible、Itamae 或其他任何方式配置的服务器
Serverspec
RSpec 可测试由 Puppet、Chef 或其他任何工具配置的服务器
您可以在 serverspec.org 上查看 serverspec 的详细信息。
运行 gem 的测试
使用
bundle exec rake
(使用
rspec
单独使用无法实现)。
Serverspec/Specinfra 的维护策略
- 分支它(fork it)
- 创建你的特性分支(git checkout -b my-new-feature)
- 提交你的更改(git commit -am 'Add some feature')
- 将分支推送到原始仓库(git push origin my-new-feature)
- 创建新的 Pull Request