• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • maven中跳過單元測試

    發表于:2009-12-21來源:作者:點擊數: 標簽:
    maven中跳過單元測試 單元測試工具 Maven 提供了跳過單元測試的能力,只需要使用 Surefire 插件的 skip 參數。 在命令行,只要簡單的給任何目標添加 maven.test.skip 屬性就能跳過測試: $ mvn install -Dmaven.test.skip=true ... [INFO] [compiler:testCom

            maven中跳過單元測試   單元測試工具

      Maven 提供了跳過單元測試的能力,只需要使用 Surefire 插件的 skip 參數。 在命令行,只要簡單的給任何目標添加 maven.test.skip 屬性就能跳過測試:

      $ mvn install -Dmaven.test.skip=true

      ...

      [INFO] [compiler:testCompile]

      [INFO] Not compiling test sources

      [INFO] [surefire:test]

      [INFO] Tests are skipped.

      ...

      當 Surefire 插件到達 test 目標的時候,如果 maven.test.skip 設置為 true ,它就會跳過單元測試。 另一種配置 Maven 跳過單元測試的方法是給你項目的 pom.xml 添加這個配置。 你需要為你的 build 添加 plugin 元素。

      

      [...]

      

      

      

      org.apache.maven.plugins

      maven-surefire-plugin

      

      true

      

      

      

      

      [...]

      

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>