Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6922995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:28:43+00:00 2026-05-27T10:28:43+00:00

I have a testng.xml file with two tests: <!DOCTYPE suite SYSTEM http://testng.org/testng-1.0.dtd > <suite

  • 0

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:

enter image description here

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:28:44+00:00Added an answer on May 27, 2026 at 10:28 am

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On my Jenkins I have an ANT build file which runs a TestNG suite.
I have an XML file starting: <?xml version=1.0?> <results> <result id=0001> <hometeam> <name>Dantooine Destroyers</name>
I have java 1.6, maven 2, activeMQ 5.5 and functional tests with testng. When
If we have <include name=web > and <include name=weekend > , TestNG runs all
I have a xml file, and i need to append a child to it
I have an option to choose between local based data storing (xml file) or
I have a XML file, that looks like this inside: <Data> <INFO> .. ...
Is it possible to run testng from ant without passing a testng.xml file? I
I have an XML file. <?xml version=1.0?> <catalog> <book id=bk101> </book> <catalog> I read
I have created a custom Button as follows. file : buttoncontrol.xml <?xml version=1.0 encoding=utf-8?>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.