Including tests in testng.xml

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

Including tests in testng.xml

dr29bart
This post has NOT been accepted by the mailing list yet.
My test file has such methods:

@BeforeClass
public void init(){...}

@Test(groups = "main")
public void test1(){...}




and testng.xml:

<suite>
  <groups>
     <run>
        <inlcude name="main"/>
     </run>
  </groups>
  <packages>
      <package name="com.*"/>
  </packages>
</suite>


And before class doesn't run. Is it bug or somethis?