[GRADLE-2354] TestNG hierarchical tests issue Created: 14/Jun/12  Updated: 04/Jan/13  Resolved: 13/Jul/12

Status: Resolved
Project: Gradle
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Bug
Reporter: Szczepan Faber Assignee: Szczepan Faber
Resolution: Cannot Reproduce Votes: 0

  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.

Comment by Szczepan Faber [ 13/Jul/12 ]

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

Generated at Wed Jun 30 12:19:37 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.