Test-Kitchen命令中的opts属性是什么意思?

时间:2014-03-04 17:25:52

标签: test-kitchen

我正在使用Test-Kitchen进行集成测试,我对有关 opts 属性

的Kitchen命令有一些疑问

这是厨房的命令。

Commands:
  kitchen console                          # Kitchen Console!
  kitchen converge [(all|<REGEX>)] [opts]  # Converge one or more instances
  kitchen create [(all|<REGEX>)] [opts]    # Create one or more instances
  kitchen destroy [(all|<REGEX>)] [opts]   # Destroy one or more instances
  kitchen diagnose [(all|<REGEX>)]         # Show computed diagnostic configuration
  kitchen driver                           # Driver subcommands
  kitchen driver create [NAME]             # Create a new Kitchen Driver gem project
  kitchen driver discover                  # Discover Test Kitchen drivers published on RubyGems
  kitchen driver help [COMMAND]            # Describe subcommands or one specific subcommand
  kitchen help [COMMAND]                   # Describe available commands or one specific command
  kitchen init                             # Adds some configuration to your cookbook so Kitchen can rock
  kitchen list [(all|<REGEX>)]             # List all instances
  kitchen login (['REGEX']|[INSTANCE])     # Log in to one instance
  kitchen setup [(all|<REGEX>)] [opts]     # Setup one or more instances
  kitchen test [all|<REGEX>)] [opts]       # Test one or more instances
  kitchen verify [(all|<REGEX>)] [opts]    # Verify one or more instances
  kitchen version 

有没有人用过例如kitchen converge [opts]

我可以使用哪种选项

1 个答案:

答案 0 :(得分:3)

运行kitchen help converge - 它会显示所有选项。您可以为任何命令运行kitchen help <command>以获取更多信息。选项列表因命令而异。

例如:

kitchen converge --concurrency 5 --parallel