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:

811 questions
4
votes
2 answers

Generate HTML report for WebdriverIO/Cucumber framework

I am using WebdriverIO/Cucumber (wdio-cucumber-framework) for my test automation. I want to get the test execution result in a HTML file. As of now I am using Spec Reporter (wdio-spec-reporter). Which helps to print the results in console window.…
Thangakumar D
  • 567
  • 3
  • 9
  • 21
4
votes
1 answer

How do I get the whole error backtrace for rspec?

Currently I am using parallel tests rspec allure 0.8.0 After I run the tests I get the following error: RSpec::Core::MultipleExceptionError I need the whole backtrace of the error. Is it some parameter that I need to pass to the command that I use…
The Rookie
  • 545
  • 7
  • 25
4
votes
0 answers

Possible to add screenshot to JUnit test xml files?

Is it possible to add screenshot to JUnit test xml files? For example, if one of my tests fail the method will be indicated inside the XML file as a failure. Is it possible to attach a screenshot link or the screenshot itself when a test fails?
Gbru
  • 975
  • 1
  • 16
  • 40
4
votes
1 answer

java.lang.NullPointerException when trying to generate Allure Report

When I run the command-line report tool, it creates the directory but its empty. the allure-results directory has a valid test in it.
4
votes
3 answers

Allure: Environment file in target folder gets deleted on maven clean. How do I generate it on every build?

The instructions say to add the environment.xml to the Allure results directory (https://github.com/allure-framework/allure-core/wiki/Environment) but this folder gets deleted on mvn clean so the files gets deleted with it. Is there a way to…
ihossain
  • 303
  • 7
  • 18
4
votes
1 answer

Allure: failed to get report for ru.yandex.qat ools.allure:allure-maven-plugin

I try to fasten Allure to my tests. I get started as documentation says (https://github.com/allure-framework/allure-core/wiki#getting-started) But there is an error I can not deal with: mvn site [INFO] --- maven-site-plugin:3.0:site…
Ksu
  • 83
  • 6
4
votes
1 answer

How to show variable-length argument list in allure.step?

Allure supports step name with function parameters https://github.com/allure-framework/allure-python#steps @allure.step('my step with parameter a={0}, b={1}') def my_step(important_parameter, my_parameter): pass But it work for determined count…
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
  • 1,818
  • 17
  • 13
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
  • 195
  • 2
  • 5
  • 9
3
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
  • 159
  • 4
  • 13
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
  • 136
  • 1
  • 10
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
  • 2
3
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
  • 31
  • 4
3
votes
1 answer

Is it possible to generate Allure report in python-unittest?

I have found solution for allure report in Pytest. But I need to generate allure report in python-unittest. Is it possible?
1 2
3
54 55