Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-2326

Using suites with TestNGOptions causes Stacktrace

  • Log In
  • Views
    • XML
    • Word
    • Printable

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)

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    GradleMethodMissing.txt
    24/May/12 2:08 PM
    15 kB
    Greg

Issue Links

Duplicates

Bug - A problem which impairs or prevents the functions of the product. GRADLE-2307 Configuration of TestNG options causes Stackoverflow when trying to use project / task properties.

  • Resolved - A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
René Gröschke made changes - 05/Jun/12 3:39 PM
Field Original Value New Value
Link This issue Duplicates GRADLE-2307 [ GRADLE-2307 ]
Adam Murdoch made changes - 19/Aug/12 7:51 PM
Resolution Fixed [ 1 ]
Fix Version/s 1.2-rc-1 [ 10562 ]
Status Open [ 1 ] Resolved [ 5 ]
Luke Daley made changes - 03/Jan/13 5:09 AM
Status Resolved [ 5 ] Closed [ 6 ]
Workflow jira with pivotal tracker [ 15871 ] jira with pivotal tracker (no resolved, only closed) [ 18234 ]
Luke Daley made changes - 04/Jan/13 5:10 AM
Status Closed [ 6 ] Resolved [ 5 ]
Workflow jira with pivotal tracker (no resolved, only closed) [ 18234 ] Copy of jira with pivotal tracker (no closed, only resolved) [ 20845 ]

People

  • Assignee:
    Unassigned
    Reporter:
    Greg
Vote (0)
Watch (2)

Dates

  • Created:
    24/May/12 2:08 PM
    Updated:
    04/Jan/13 5:10 AM
    Resolved:
    19/Aug/12 7:51 PM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.