Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-919

TestNG plugin fails to apply 'verbose' setting from TestNG.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.12.4
    • Fix Version/s: 2.19
    • Component/s: TestNG support
    • Labels:
      None

      Description

      TestNG plugin is deliberately disabling TestNG verbose setting, as seen from the code below.

      This effectively makes maven/surefire won't work with any TestNG client using Reporter feature since it depends on verbose setting for higher level verbosity.

      I'd like to see this fixed, so that the verbose setting from TestNG.xml is actually applied correctly when tests are executed from maven environment.

      From TestNGExecutor.postConfigure():

      // turn off all TestNG output
      testNG.setVerbose( 0 );

      I have also found the following:
      http://testng.1065351.n5.nabble.com/RemoteTestNG-disables-suite-level-verbose-setting-td7197.html

        Attachments

          Activity

            People

            • Assignee:
              tibordigana Tibor Digana
              Reporter:
              rpark red park
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: