Why do i see "Surefire suite" in the generated Test Reports for Allure with cucumber Testing Framework #2962
Replies: 3 comments
-
@sridatascience make sure you're using the latest versions of allure-testng & allure-cucumberjvm (the version number should match). Maven creates the "Surefire suite" automatically when running the tests using the maven-surefire-plugin. It's added to all tests, discovered by the Maven. And since Cucumber tests are not discoverable by Maven (technically they are dynamic TestNG tests), the Cucumber results will not have such a label. |
Beta Was this translation helpful? Give feedback.
-
I have added a mechanism to ensure that I override them with os name
feature file name and scenario name but I still see that for some tests
…On Thu, 17 Apr, 2025, 2:06 pm Dmitry Baev, ***@***.***> wrote:
@sridatascience <https://github.com/sridatascience> make sure you're
using the latest versions of allure-testng & allure-cucumberjvm (the
version number should match).
Maven creates the "Surefire suite" automatically when running the tests
using the maven-surefire-plugin. It's added to all tests, discovered by the
Maven. And since Cucumber tests are not discoverable by Maven (technically
they are dynamic TestNG tests), the Cucumber results will not have such a
label.
—
Reply to this email directly, view it on GitHub
<#2962 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL6LE46V5UIXBDTKWLZIGK32Z5R2PAVCNFSM6AAAAAB3KAFVL2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEOBWGQ2DMMQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
One more issue that i face is, that i dont see all the tests getting displayed when the cucumber allure adapater is otherwise generating the actual number of json files in allure-results folder, the actual tests displayed in allure report is far less then that.. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I see "Surefire suite" in the report and that does not contain the complete suite of tests, partial list of tests is populated there. Any idea why this behavior when using cucumber framework with Testng?

Beta Was this translation helpful? Give feedback.
All reactions