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

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

public void init(){...}

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

and testng.xml:

        <inlcude name="main"/>
      <package name="com.*"/>

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