Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Open
@anitachristobel

Description

@anitachristobel
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.