Hello, I'm trying to manage my suites and got a problem. I have a test in a group that I make disable as: @Test(groups = {"first"}, enabled = false). This test is in the package of com.website.uat.mweb
And I have a suite file for including another group as:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="first_suite" configfailurepolicy="continue" parallel="methods">
<test name="first_test" preserve-order="false">
<groups>
<run>
<include name="second"/>
</run>
</groups>
<packages>
<package name="com.website.uat.mweb"></package>
</packages>
</test>
</suite>
Now, when I execute this suite, I see this test in my test results as skipped (because of enabled = false). But I don't want that to be in the list because it's not in the group. I guess it's first looking the package and marks the enabled = false tests as skipped at first without checking the group info.
Is there any way for workaround this issue? It's kinda breaking my reports.
Thanks in advance