package-Selection not working (nothin gets executed)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

package-Selection not working (nothin gets executed)

Arno Jost
I'm having a set of TestNG-Classes (Classes annotated with @Test) which work perfectly well either by being directly called in the Eclipse-Plugin or included in a suite as follows:

<suite name="Test Suite" parallel="false">
  <test name="myTest" verbose="10">
    <classes>
      <class name="unit.common.test.BaseTestCaseTest"/>
    </classes>
  </test>
</suite>

However when i try to run them directly by specifying the package-name either in the eclipse-plugin or in my suite by doing the following:

<suite name="Test Suite" parallel="false">
  <test name="myTest" verbose="10">
    <packages>
      <package name="unit.common.test"/>
    </packages>
  </test>
</suite>

noting gets executed.
The output i got from the TestRunner is:

[TestRunner] Running test unit.common.test on 0  classes,  included groups:[] excluded groups:[]
[TestRunner] Found 0 sequential methods and 0 parallel methods

Could it be that this was working in the past (read a lot of post hinting in that direction) but was broken with v. 6.1.1?