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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.12.4
    • 2.19
    • TestNG support
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: