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 — Allure report doesn't show all the test methods if I have combination of test methods from the same test class but clubbed under multiple tesNG test · Issue #577 · allure-framework/allure-java

Allure report doesn't show all the test methods if I have combination of test methods from the same test class but clubbed under multiple tesNG test #577

New issue
Copy link
New issue
Copy link
Open
Open
Allure report doesn't show all the test methods if I have combination of test methods from the same test class but clubbed under multiple tesNG test#577
Copy link

Description

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

Describe the bug

Allure report doesn't show all the test methods if I have combination of test methods from the same test class but clubbed under multiple tesNG test ==>
You can see in the screenshot that method <include name="performCalculationsSoap" description="Perform calculations - 1"> is not displayed

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
Allure report should show same test methods as declared in testng xml

Screenshots

image

Desktop (please complete the following information):

  • OS: [e.g. iOS] Win 10
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 90.x

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
I am generating testNG.xml programmatically from xml sheet and executing via maven failsafe plugin

TestNG xml ==>

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="1" verbose="0" name="My Test Suite">
  <test name="My Test - 1">
    <parameter name="browser" value="CHROME"/>
    <classes>
      <class name="com.example.tests.CalculatorSoapApiTest">
        <methods>
          <include name="performCalculationsSoap" description="Perform calculations - 1">
            <parameter name="tcId" value="TC5"/>
          </include>
          <include name="retrieveByIdRest" description="Retrieve - 1">
            <parameter name="tcId" value="TC5"/>
          </include>
        </methods>
      </class>
    </classes>
  </test>
  <test name="My test -2" >
    <parameter name="browser" value="CHROME"/>
    <classes>
      <class name="com.example.tests.CalculatorSoapApiTest">
        <methods>
          <include name="performCalculationsSoap" description="Retrieve - 2">
            <parameter name="tcId" value="TC7"/>
          </include>
        </methods>
      </class>
    </classes>
  </test>
</suite>

Activity

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 01402503 — 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.