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
5
votes
2 answers

How to properly host Allure reports

after reading answer to the question How to serve Allure Report without automatically starting the browser I wonder how to use nginx to host allure reports properly? I suppose it would be enough if you may give an example of command for nginx and…
Evgeny Z
  • 75
  • 1
  • 2
  • 6
5
votes
2 answers

How to relax Jenkins security rules for Allure?

I tried to add this in Jenkins Script Console, but it didn't help: "-Dhudson.model.DirectoryBrowserSupport.CSP=default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';" How to do this? Or what is wrong?
testableapple
  • 325
  • 2
  • 13
5
votes
1 answer

Taking screenshots for Allure reports from custom TestNG listener - TestListenerAdapter

I'm implementing custom test listener called TestListenerAdapter in my project and I wrote the code to capture screenshot in onTestFailure method of listener class. I also created following method and i'm calling in OnTestFailure…
Vikas
  • 669
  • 3
  • 10
  • 21
5
votes
1 answer

Allure Framework: TestNG adapter generates duplicate XML files

I am trying to use Allure with TestNG and Maven using this example. Each time I run this example duplicate copies of xml files are generated. I am using allure 1.4.0.RC8. Any guidance on this is highly appreciated.
JavaCreeper
  • 193
  • 2
  • 5
  • 9
5
votes
1 answer

Allure Report: no data generated for JUnit framework

Our team is using JUnit as base test framework for a large and old project. We recently migrated to Maven and we decided to try a new report for JUnit called Allure. We copied dependencies and plugins to our pom.xml from the following example but no…
Innokenty
  • 3,001
  • 1
  • 27
  • 30
4
votes
2 answers

How to generate Allure HTML report using playwright/test runner?

How to generate Allure HTML report using playwright/test runner? We are planning to use Nodejs, Typescript and Playwright recommended test runner (playwright/test) but wasn't able to find any documentation regarding how to generate Allure HTML…
VinodGulia
  • 171
  • 3
  • 11
4
votes
1 answer

Allure: How To Make Parent Steps failed if subStep is failed?

I have allure listener which reports all selenide asserts but in case of fail only sub step is marked as failed. and It is unclear from report Listener: @Override public void beforeEvent(final LogEvent event) { …
Anton_Selenium
  • 339
  • 7
  • 20
4
votes
1 answer

Using one @allure.epic decorator in a test file

I want to use allure tags to order my tests. So I try to mark them using allure.epic and allure.feature tags. I found out that I had to mark all the tests (I don't have test classes). Is it possible to mark with @allure.epic("") a test file just one…
Deeslo
  • 51
  • 5
4
votes
4 answers

Allure clean history

I use allure for reporting testcafe. Everything is fine expect the allure usage. How I can clean up allure reports from old data? In the documentation I read I have to use allure report clean I tried this command but allure do not understand, it…
ingo
  • 776
  • 1
  • 10
  • 25
4
votes
1 answer

Error while setting up Allure Test Reporting in gradle project

I would like to setup Allure Test Report for the geb framework using gradle (https://gebish.org/), but get the error below although json files are created in the results folder. added allure.properties with the following content in…
rnemeth
  • 41
  • 6
4
votes
0 answers

Configure Allure with unittest

I want to interact allure report with unittest. Is it possible or does allure only work with the pytest framework? How can I configure and get the report of my unittest suite execution?
Ramaajun
  • 51
  • 1
4
votes
1 answer

How to get the Cucumber steps and attachments in Allure report?

I am able to generate allure report in a java-cucumber-Junit based Project. However, I am unable to get the cucumber steps in the execution section. Also, The attachments are not getting attached to the reports. I am able to generate the…
user7645022
  • 53
  • 1
  • 1
  • 7
4
votes
1 answer

How can I group Test steps in Allure report

I am looking for solution where I can group test steps in allure report. Currently what is happening : For example I have one test case login where there are 5 steps i.e go to login page, enter login detail, click on submit etc. But in allure report…
Helping Hands
  • 5,292
  • 9
  • 60
  • 127
4
votes
1 answer

Allure report is empty after generation

I'm using allure 2.8.1. I've installed it with NPM into my docker container. After it I run allure generate test-results command to generate allure report from junit xml's, that are generated with newman tool. In report directory there appears an…
Sergei Podlipaev
  • 1,331
  • 1
  • 14
  • 34
4
votes
2 answers

HTML version of allure reports

any way to get an emailable HTML allure reports which I can send after my Jenkins execution. I need this and I am too far with allure to go with another reporting option
Shashank Garg
  • 51
  • 1
  • 4
1 2
3
68 69