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

TestNG hierarchical tests issue

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.0
  • Fix Version/s: 1.0

Description

  1. Say we have a CasualUserImplTest that extends AbstractUserImplTest. The latter contains tests, the former does not contain any tests, just some configuration stuff, for example, a @BeforeMethod.
  2. we use TestNG
  3. we run tests, CasualUserImplTest tests (inherited from the base class) are not ran. Expected: inherited tests do run.
  4. we add a dummy test method to the CasualUserImplTest, we run tests. All tests run: the dummy test method in CasualUserImplTest but also test methods inherited from the base class. This is expected. Just wanted to point out the inconsistency.

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
Hide
Permalink
Szczepan Faber added a comment - 13/Jul/12 4:06 AM

I cannot seem to reproduce it with newer versions of TestNG (6.3.1, 6.4, 6.5.2)

Show
Szczepan Faber added a comment - 13/Jul/12 4:06 AM I cannot seem to reproduce it with newer versions of TestNG (6.3.1, 6.4, 6.5.2)

People

  • Assignee:
    Szczepan Faber
    Reporter:
    Szczepan Faber
Vote (0)
Watch (2)

Dates

  • Created:
    14/Jun/12 9:23 AM
    Updated:
    04/Jan/13 5:10 AM
    Resolved:
    13/Jul/12 4:06 AM
  • 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.