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-1725

Nested exception in failing test case causes ClassCastException in gradle

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Resolution: Unresolved
  • Affects Version/s: 1.0-milestone-3, 1.0-milestone-4
  • Fix Version/s: None

Description

We recently switched from ant/ivy to gradle. When one of our testng integration tests failed with a DB constraint exception, gradle was disconnecting and failing to report it properly. The exception in the failing test case causes a ClassCastException in gradle.

Attached simple example that simulates issue. Gradle should report one failing test and one passing test.

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

Attachments

  1. Hide
    Zip Archive
    gradle-testng-issue.zip
    05/Aug/11 12:51 PM
    2 kB
    Casey Moyaert
    1. File
      gradle-testng-issue/build.gradle 0.8 kB
    2. File
      __MACOSX/.../._build.gradle 0.2 kB
    3. Java Source File
      gradle-testng-issue/src/.../TestClass.java 0.7 kB
    Download Zip
    Show
    Zip Archive
    gradle-testng-issue.zip
    05/Aug/11 12:51 PM
    2 kB
    Casey Moyaert

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Casey Moyaert
Vote (1)
Watch (1)

Dates

  • Created:
    05/Aug/11 12:38 PM
    Updated:
    13/Apr/12 6:37 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.