GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — TestNG - Mutiple Test are there in the xml file ..TC count not displayed in the report properly · Issue #576 · allure-framework/allure-java

TestNG - Mutiple Test are there in the xml file ..TC count not displayed in the report properly #576

New issue
Copy link
New issue
Copy link
Open
Open
TestNG - Mutiple Test are there in the xml file ..TC count not displayed in the report properly#576
Copy link

Description

@anitachristobel
anitachristobel
opened on May 6, 2021
Issue body actions

Describe the bug
In the TestNG xml.. I have two test suite.
my TestNG report shows the no.of test cases properly.In Allure report of the test suite cases are missing.
The json file report is generated in allure-reports

To Reproduce

<test name "Test1">
    <classes>
        <class name="class1.method1">
        </class>
    </classes>
</test>

<test name ="Test2">
    <classes>
        <class name="class4.t3"/>
        <class name="class3.sample3"/>
        <class name="class2.test1"/>
        <class name="class1.method1"/>
    </classes>
</test>

Expected behavior
The total no of testcase should be 5 . each class have one method. But in allure only 4 is displayed .Test1 results are not displayed.
I see a simillar pattern.If i use the same methods in differents test .. the count is not displayed properly
Screenshots
If applicable, add screenshots to help explain your problem.

image

Additional context
Add any other context about the problem here.

Activity

  1. itkhanz commented on Dec 28, 2022

    @itkhanz
    itkhanz
    on Dec 28, 2022
    More actions

    This issue arises because the <class name="class1.method1"> in test1 and test2 have same tests so Allure counts them as 1 test and put the other test result in Retries tab.
    Yet to see if the bug is fixed or not.

  2. baev
    added
    theme:testng
    on Aug 23, 2023
  3. baev
    removed
    theme:testng
    on Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.