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

How to generate allure report that carries the history information.

I have a bash script to run the selenium test case in docker. And last step of this script is to generate the allure report of the test results, such as: export ALLURE_IMAGE=beeete2/docker-allure2 export PROJECT_DIR=selenium-suites export…
user3595231
  • 711
  • 12
  • 29
4
votes
2 answers

Error after installation of allure pytest adaptor

I am trying to configure Allure (2.6.0) with Pytest (3.6xx) on a Windows 8 box. I am able to run pytest and generate jUnit xml report file which later I can pass to allure (allure server jUnitXmlFile.xml) and it works fine. What I need is the…
ColdAir
  • 55
  • 1
  • 8
4
votes
2 answers

Turn off archiving of Allure report

Allure commandline 2.6.0; Jenkins ver. 2.89.3; I am using the following script (no any other post-build settings in job settings): stage('Generate reports') { allure([includeProperties: false, reportBuildPolicy: 'ALWAYS', results…
4
votes
0 answers

Codeception Allure Module error: [Doctrine\Common\Annotations\AnnotationException] The annotation "@env" ... was never imported

Our current project uses Codeception with the Codeception Allure addon and we are now seeing the following error when we run codecept run acceptance --env chrome --group banana --debug. This error began appearing a few days ago and we are unsure how…
John Stennett
  • 546
  • 3
  • 9
4
votes
1 answer

How to serve Allure Report without automatically starting the browser

When i start the allure, the server always attempts to start the browser: $ /home/allure/allure-2.3.4/bin/allure serve target/allure-results -p 5012 Generating report to temp directory... Report successfully generated to…
4
votes
2 answers

Allure serve command to update realtime and make use of the advanced features(trends, history, etc)

The way I am creating the Allure report is by creating the XMLs with the allure plugin for pytest, like so pytest LoginTest.py --alluredir C:\Users\xxx\Desktop\Allure\xml Here will generate a hand-full of XMLs and txt files. As expected. Next I…
Goralight
  • 2,067
  • 6
  • 25
  • 40
4
votes
3 answers

Allure: Jenkins Plugin is not able to generate report

Could you please help with the follow? Running the protractor test. Jenkins plugin is not able to generate report. Error: 404 not found. Allure plugin: 2.19 Allure commandline: 1.54 Protractor: 5.1.2 Jenkins is run locally: 2.60.1 NodeJS:…
Jack
  • 121
  • 3
  • 15
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
  • 714
  • 5
  • 12
  • 27
4
votes
2 answers

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
  • 595
  • 9
  • 26
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
  • 1,065
  • 3
  • 24
  • 56
4
votes
2 answers

Add parameter to test title in allure

I use Allure with jUnit. In parametrized test I see parameter in the title When I want to provide custom title via @Title annotation, these parameters is not shown. I tried to specify parameter as @Title("Test {0}") but it didn't work as well. Is…
just-boris
  • 9,468
  • 5
  • 48
  • 84
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
  • 343
  • 1
  • 8
  • 19
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
  • 2
  • 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…