by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Artur Mkrtychian
@arturmkr
@byakoshiki_twitter , do you have any idea how to attach to allure report screenshots, pagesource from Selenide in case of Junit assert fails?
byakoshiki
@byakoshiki_twitter
@arturmkr simple, make your own extension that checks if method failed and do that attachment. You can even use selenide screenshot from screenshooter, you just need to call method from ScreenshoterLab (i believe) to get last screenshot
Shadowrazej
@Shadowrazej
Hello everybody.
I have a question about allure description.
@Description(useJavaDoc = true) - doesn't work for me.
I'm using JUnit 5 with allure
GowriShankariSurendran
@GowriShankariSurendran
I am using allure for reports from python behave . Can I please get help for setting environment variables and setting the report name in the allure.yaml. I searched the documentation and it did not have any pointers for that.
tulsi26ram
@tulsi26ram
Hi Team, I would like to generate an allure report via allure-maven plugin... Can you guys please guide me the process. I am not able to understand the steps in the documentation section
tulsi26ram
@tulsi26ram
any one there to help me
fescobar
@fescobar
@tulsi26ram check the java examplee.
Skip dockee l
Skip docker part
tulsi26ram
@tulsi26ram
@fescobar : I have followed the content in the above url , excluding your docker part.... I dont see that neither allure-results nor allure-reports are getting creating when i use the POM.xml in your allure-testng example.
you have to run the project to see results in the allure-results directory in the root project
tulsi26ram
@tulsi26ram
@fescobar : Actually what I am doing you know, I took your POM.xml file contents and I put it in my own project... May be that is the reason that I am not able to see the allure-results and allure-report?
@fescobar : I am not aware of docker as of now. I wanted to run through maven POM. Is there any way that I see my allure report after I do mvn clean test
fescobar
@fescobar
@tulsi26ram First check the example if it's working. After that adapt your project according to example, otherwise, you don't know what is the problem in your project.
the example is just to see how the results are generated, for that reason skip the docker part, just you need to run the tests and see the json files generated in the allure-results directory
Florian Ruschbaschan
@floruschbaschan
@fescobar @lucas-nguyen-17 thank you guys for the fast reply! I'm using allure also in combination with spring-boot and I missed out some configurations which are required since a new version of spring-boot (https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2-Release-Notes#junit-5). After following the migration guide everything works as expected :-)
ricardgarcia
@ricardgarcia
hello all
I'm trying to see the history trend in the allure report. Already doing the copy of "history" folder previous execution of "/allure-report" into de "allure-results/" folders. This is not showing anything... any thoughts?
fescobar
@fescobar
@ricardgarcia you can use the docker container that resolve that automatically https://github.com/fescobar/allure-docker-service#keep-history-and-trends
tulsi26ram
@tulsi26ram
Hi All, I have only one test case in my test class, But when I generate report using allure serve, i see there are 2 testmethods in my report... I am not using any listeners though....
one result shows SetUp, step information and tearDown.....But another shows No information about test execution is available
Is there any problem in report generation?
Sampad Rout
@sampadrout
Hi team, i have 2 projects where project a is a core one and project b is having all the tests and page object classes. I am building a big fat jar having both project a and project b. In project a, I have a main class who takes the control and pass it on to testng. Here the issue is, when i am running directly from testng.xml, @Steps are getting fetched but when i am building the big fat jar and running using java -jar abc.jar, @Step are not getting fetched. Any of you faced this issue? Your help on this will be highly appreciated. Thanks
ricardgarcia
@ricardgarcia
hi @fescobar I've just try it and does what I need! many thanks!
MichaƂ Malicki
@m__malicki_twitter
Hi, what would be recommended way to mark tests as smoke in allure report? Currently, I created dedicated annotation, consisting of Junit's Tag and Allure's LabelAnnotation:
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
@LabelAnnotation(name = "smoke")
@Tag("smoke")
annotation class Smoke
ibodog
@ibodog
Hi Everyone! Do the Allure @Step annotations in Junit5 work on a class with static methods?
Robert Torres
@robto09_twitter
Hello here! Is possible to change the directory where allure generate the de allure-report? node_modules/.bin/allure generate
aman-p-parker
@aman-p-parker
@robto09_twitter https://docs.qameta.io/allure/#_commandline If you ctrl f for "Allure-results" in the docs here you will come across some ways to change the configurations to different directories depending on what kind of project you have
Robert Torres
@robto09_twitter

@robto09_twitter https://docs.qameta.io/allure/#_commandline If you ctrl f for "Allure-results" in the docs here you will come across some ways to change the configurations to different directories depending on what kind of project you have

Thank you very much! I am suing this command now: allure generate <directory-with-results> -o <directory-with-report> do you know how can I add allure open to it? to make one single command

byakoshiki
@byakoshiki_twitter
@robto09_twitter dont you just need like allure generate <directory1> -o <directory2> && allure open <directory2>?
Robert Torres
@robto09_twitter

@robto09_twitter dont you just need like allure generate <directory1> -o <directory2> && allure open <directory2>?

Yeah sorry I tried before you told me and it works. Thanks :)

Robert Torres
@robto09_twitter
Hellow again! Is there an option to change the design of History Trend graphic ? like this one https://docs.qameta.io/allure/images/tab_overview.png
aman-p-parker
@aman-p-parker
@robto09_twitter The graphs are all generated automatically, what does yours look like? To keep history for more runs you will have to use the allure-docker-service: https://github.com/fescobar/allure-docker-service
Robert Torres
@robto09_twitter
Screen Shot 2020-08-06 at 2.04.27 PM.png

Screen Shot 2020-08-06 at 2.04.27 PM.png

like this one @aman-p-parker . Undertand :) Its just a visual thing, nothing important

aman-p-parker
@aman-p-parker
Yea @robto09_twitter this looks like it is working fine, you will get yellow if you have broken test cases, gray for skipped, and purple for unknown behavior
Robert Torres
@robto09_twitter

Yea @robto09_twitter this looks like it is working fine, you will get yellow if you have broken test cases, gray for skipped, and purple for unknown behavior

Understood, thanks man!

ibodog
@ibodog
Using Allure for junit5 v2.13.5 and I can't seem to get @Step annotations to show up in the html report under Execution. Are the @Step annotations not working in the current version? How far back to get them working? Thx.
Aionitoaie Andrei
@yozzz06_twitter
hello I'm using allure-rspec 2.13.1 and when running regression tests at some point I receive : nesting of 100 is too deep
/usr/local/bundle/gems/allure-ruby-commons-2.13.1/lib/allure_ruby_commons/model/jsonable.rb:17:in to_json' /usr/local/bundle/gems/allure-ruby-commons-2.13.1/lib/allure_ruby_commons/file_writer.rb:17:inwrite_test_result'
/usr/local/bundle/gems/allure-ruby-commons-2.13.1/lib/allure_ruby_commons/allure_lifecycle.rb:88:in `stop_test_case'
and is causing the framework to fail
byakoshiki
@byakoshiki_twitter
@robto09_twitter you also can make your custom graph if you want. Plugin system allows it
Bibhu P Mohapatra
@m_bibhu_twitter
Hi All,

HI All,
I'm using allure for specflow
allure : 3.1.0.6
SpecFlow: 3.3.57
On test execution I'm getting allure-results folder but without any data.
What may be the reason on this.
Any suggestion or help is appreciated

Thanks in advance

ibodog
@ibodog
Before I file a git bug, can anyone confirm working @Step annotations on Junit 5? They are just not working for me and I'm not seeing any error messages.
Kaushik6Test
@Kaushik6Test
hello there, I have a general query regarding API testing, I know the question is irrelevant in here, still is anyone there to help me out
fescobar
@fescobar
@Kaushik6Test which one?
lucasnguyen17
@lucas-nguyen-17
@Kaushik6Test go ahead