Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901898

testng keyword not applied to tests with "@run testng" action

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg4.2
    • None
    • tools
    • None
    • b06

      The testng keyword not applied to tests with "@run testng" action.
      Checking the output of some jtreg self-tests...


      $ more work/std/TestNGTest.jtr
      #Test Results (version 2)
      #Mon Feb 13 11:31:03 PST 2017
      #-----testdescription-----
      $file=/w/jjg/work/jtreg/jtreg.dev/src/share/test/javatest/regtest/data/rerun/std/TestNGTest.java
      $root=/w/jjg/work/jtreg/jtreg.dev/src/share/test/javatest/regtest/data/rerun
      keywords=
      run=USER_SPECIFIED testng TestNGTest\n
      source=TestNGTest.java
      title=\

      $ more work/testng/TestNGTest.jtr
      #Test Results (version 2)
      #Mon Feb 13 11:31:04 PST 2017
      #-----testdescription-----
      $file=/w/jjg/work/jtreg/jtreg.dev/src/share/test/javatest/regtest/data/rerun/testng/TestNGTest.java
      $root=/w/jjg/work/jtreg/jtreg.dev/src/share/test/javatest/regtest/data/rerun
      keywords=testng
      packageRoot=testng/
      run=ASSUMED_ACTION testng TestNGTest\n
      source=TestNGTest.java
      testngClass=TestNGTest
      title=\

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: