分組

2018-02-24 15:42 更新

分組

<groups> 元素及其 <include><exclude>、<group> 子元素用于從帶有 @group 標(biāo)注(相關(guān)文檔參見(jiàn) the section called “@group”)的測(cè)試中選擇需要運(yùn)行(或不運(yùn)行)的分組。

<groups>
  <include>
    <group>name</group>
  </include>
  <exclude>
    <group>name</group>
  </exclude>
</groups>

以上 XML 配置對(duì)應(yīng)于以如下選項(xiàng)調(diào)用 TextUI 測(cè)試執(zhí)行器:

  • --group name

  • --exclude-group name

以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)