I running the allure server docker in multiple projects version, the scenario is:
project id: my-project-id
Run test with total test cases = 10, and all test cases failed, then publish the allure-results
directory to allure server by API call (for example, CURL or shell script), and then generate the test report by the API call (by CURL or shell script, etc.).
Then the first report in allure-server is available with URL:
http://localhost:5050/allure-docker-service/projects/my-project-id/reports/1/index.html#
The report will show all the test cases are failed, it is expected.
Run the test again that the test cases executed in step 2 that total is 10, and got the test result that all 10 test cases are passed.
Then publish the allure-results
to allure-server` and generate the report by API, then we will get the second test report:
http://localhost:5050/allure-docker-service/projects/my-project-id/reports/2/index.html#
Then open the second report,
Expect:
the report displaying of this round's test information should be shown all test cases are passed.
Actually:
the report displays the testing information is aggregative testing information from all history report, so the report display failed cases that aggregate from the report history that did by step 2.
For example, below it is my the 10th round test report
the report list many test case failures and others passes.
actually, in the 10th round of the testing, only one test case executed and failed, the test case is below:
when I open this test round's report: http://192.168.1.80:5050/allure-docker-service/projects/my-project-id/reports/10/index.html#suites
I only care which test case failed in this round of test (melco.limo.LimoBookingDailyLimitTest #testADTFeatureForPatron
), I don't care other round's test failed and passed (melco.limo.LimoBookingDailyLimitTest#afterMethod
, actually this failed case happened in the 1st test round, fixed already), I only care about this test round's test result (pass and fail, most focus on failure).
would like to know is it possible to only display the single history report without aggregation? the url is: http://localhost:5050/allure-docker-service/projects/[project_id]reports/[history_id]/index.html#
and then the latest report of the project displays the aggregation of the test report history:
http://localhost:5050/allure-docker-service/projects/[project_id]reports/latest/index.html#
I know we can check the test case history from the tab History
in the test case detail, but it is hard to debug when my current test has some test case failed to need to check the failure details.
Thanks.