I have a testng.xml file with two tests:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="XEP-0100" verbose="1">
<test name="Registration">
<classes>
<class name="com.obscured.xmpp.TestRegister" />
</classes>
</test>
<test name="Login">
<classes>
<class name="com.obscured.xmpp.TestLogin" />
</classes>
</test>
</suite>
Unfortunately, the Eclipse TestNG plugin is only running a single test when running against the testng.xml:
If I put the TestLogin class underneath the Registration test, it runs. Even more strange: the progress bar says "Tests 2/2"! What am I missing here?
It looks like the plug-in actually ran both tests but is only reporting one and I see nothing wrong with what you posted. Can you create a small self-contained Eclipse project and email it to me? If I can reproduce this, I should be able to fix it quickly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With