Questions tagged [allure]

The Allure Framework is a flexible, lightweight multi-language test report tool, with the possibility of adding to the report of additional information such as screenshots, logs and so on.

Allure Framework is a lightweight multi-language test report tool. It transforms standard unit-test framework (junit, nunit, phpunit) results into pretty-looking dynamic web reports. You can add all the required information (such as screenshots, server logs or related jira tickets) to the final report.

References:

1026 questions
4
votes
3 answers

NullPointerException when trying to create allure report by allure-jenkins-plugin

When I try to create allure report by allure-jenkins-plugin I get such error: ERROR: Publisher ru.yandex.qatools.allure.jenkins.AllureReportPublisher aborted due to exception java.io.IOException: java.lang.NullPointerException at…
4
votes
1 answer

Allure Framework: TestNG adapter incorrectly places @AfterMethod in report

I`m using allure V1.4.8 +TestNG. It looks like TestNG adapter incorrectly places @AfterMethod in report - basically it places AfterMethod from test case into next testcase. Here is the simple code: @Step("a test1") @Test public void…
4
votes
1 answer

Does Allure handle xfail, xpass, skip, and error from pytest?

From the front page of allure.qatools.ru, it looks like these categories are created: Pending Passed Canceled Broken Failed How does this map to pytest categories? I'd like to see skipped, xpass, xfail, and error. Are they supported? If so, what…
Okken
  • 2,536
  • 21
  • 15
4
votes
2 answers

Unable to generate Allure reports using allure-maven plugin

I am unable to generate Allure test html reports using allure-maven plugin. I am using the same version of testNG-adapter and allure maven plugin (1.4.0.RC8). But I am able to generate the allure html reports using Allure CLI. My pom.xml excluding…
JavaCreeper
  • 193
  • 2
  • 5
  • 9
3
votes
2 answers

Playwright - Cucumberjs - Allure Reports

I'm trying to implement the Allure reports in Playwright with Cucumber. I'm running the features in the next way: npm run test -- --tags "@Something" After an execution I type: npm run allure generate but the browser displays an Allure Report…
nosequeweaponer
  • 511
  • 10
  • 38
3
votes
1 answer

Assert in for loop in Python

I have a list of variables which I have to assert to 0. now the code has to be a part of pytest framework & compatible with allure reporting. Since the assert I use declares only 1 test case is there anyway I check every assert as a diff scn? list =…
Nimit Shah
  • 73
  • 1
  • 4
3
votes
1 answer

Is it possible to change the date format in Allure Reports?

My Allure reports display the date in a MM/dd/yyyy format. I would like to change the format to be dd/MM/yyyy. Is it possible to set a different date format in allure reports?
3
votes
0 answers

In allure report unable to see logger statements put inside @Step annotated method

I am doing POC on allure reporting.I created a Gradle project that has a test class with two @Test annotated methods.The same test class has @Step annotated method that has logger statements.This @Step annotated method is called from one of the…
Rupa
  • 31
  • 1
3
votes
0 answers

Mocha reporters don't support parallel mode, does one exist?

We're using Mocha 8.0 and are running it with the parallel feature. Mochawesome reporter completely crashes in that mode. And the couple of very simple reporters like json or spec, well they don't do enough for us. We are looking for html output…
Dmitri R117
  • 2,502
  • 23
  • 20
3
votes
1 answer

How to attach custom/existing screenshot in allure report?

Generally, I am using below code to take a screenshot and attach in allure report : @Attachment(value = "Page Screenshot", type = "image/png") public static byte[] saveScreenshotPNG(WebDriver driver) { return…
Helping Hands
  • 5,292
  • 9
  • 60
  • 127
3
votes
1 answer

Specflow beforeScenario in base class called multiple times, once for each feature in the suite

I have a test suite that utilizes a test reporting framework that I need to run through a base class, everything works fine but the [BeforeScenario] is being called 10 times for every scenario I run, 1 time for each feature in my suite, strangely…
meshier
  • 125
  • 10
3
votes
1 answer

How do I add a screenshot to an Allure report?

I have a Selenide+Java project which uses allure reporting. I am using the TestExecutionListener to handle browser setup, but I am having some extreme difficulty figuring out how to add screenshots to the report on a test failure. I'm…
Michael Dally
  • 195
  • 3
  • 12
3
votes
1 answer

How to customize Allure report to add new status to allure status report?

I have allure report integrated with our testng automation framework. And, we are trying to get the allure reporting customized in such a way that we would be able to get the pass% for the Priority 1 test cases. At the moment, the allure report…
frozen22
  • 31
  • 3
3
votes
0 answers

How to set up testing automation with the TestNG+gradle+Allure+Zalenium in GitLab?

We have tests for TestNG that run through the gradle task and then you can generate a report in Allure. Later we added the possibility to run tests in the container in Zalenium. How can I set up test runs in GitLab? Maybe there are some tutorials or…
PiNok
  • 31
  • 2
3
votes
0 answers

How to make working Allure when running tests in parallel using Pytest?

The problem is that I'm using Pytest+Selenium+Allure+Selenoid+Testrail. When tests are running in 1 thread, all is working fine. But when I try to run parallel tests execution: pytest-xdist: Allure creates an empty report pytest-parallel: does not…
Sergei
  • 195
  • 1
  • 11