Gradle
  1. Gradle
  2. GRADLE-2326

Using suites with TestNGOptions causes Stacktrace

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.0-rc-3
    • Fix Version/s: 1.2-rc-1

      Description

      I'm running my TestNG tests off of Gradle and I've been trying to use the xml suite properties to use my xml with Gradle. However every time I try to run the suite API Gradle fails and gives me a stacktrace saying Method Missing

      test{
      useTestNG()
      //other properties
      options

      { suites(file('headless.xml')) }

      }

      The stack cause:

      Caused by: java.lang.StackOverflowError
      at org.gradle.api.tasks.testing.testng.TestNGOptions.methodMissing(TestNGOptions.groovy:204)

        Issue Links

          Activity

          René Gröschke
          made changes -
          Field Original Value New Value
          Link This issue Duplicates GRADLE-2307 [ GRADLE-2307 ]
          Adam Murdoch
          made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.2-rc-1 [ 10562 ]
          Resolution Fixed [ 1 ]
          Luke Daley
          made changes -
          Workflow jira with pivotal tracker [ 15871 ] jira with pivotal tracker (no resolved, only closed) [ 18234 ]
          Status Resolved [ 5 ] Closed [ 6 ]
          Luke Daley
          made changes -
          Workflow jira with pivotal tracker (no resolved, only closed) [ 18234 ] Copy of jira with pivotal tracker (no closed, only resolved) [ 20845 ]
          Status Closed [ 6 ] Resolved [ 5 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Greg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: