Allure Report shows no tests in json file #2974
Replies: 3 comments
-
It is essential to name the JSON file correctly: ![]() Allure expects the file name to end with |
Beta Was this translation helpful? Give feedback.
-
I did that. Still the report is the same as the screenshot I sent. This is the command I use PS C:\Users> allure generate -c --single-file |
Beta Was this translation helpful? Give feedback.
-
I think I got my answer. I need to put the json file in the allure-results folder. Then it works for --single-file. For the case without --single-file, the report is saying it is loading and it does not show anything. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to generate a simple report using the json file provided in here Allure Report Docs – Test result file. The allure generate command is working as expected and it generates the allure-report folder. The problem is the index file in the allure-report folder shows there is 0 tests in the result (json) file. I am expecting there should be at least one test in the report. I attached the screenshot of what I see in the report.
Can you please help me to fix this?
Thank you,

Ali
Beta Was this translation helpful? Give feedback.
All reactions