-
-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allure displays date and time as unknown in summary overview page, as it should have been taken from <testsuite> tag of junit xml output #621
Comments
I have the same problem. Has anyone managed to solve it? |
Same here |
I am facing the same issue. Date not displayed. |
I am also getting this issue when using xunit xml report to generate the allure report |
I am also seeing the same issue. Any solutions? |
Is there a fix for this? |
@sbakshi06 I am also getting the date as of 19/01/1970. Are there any solutions? |
I am also seeing the same issue where Date and time is showing as UNKNOWN. do we have any solution ? |
I managed to work around the 'UNKNOWN' caption in the following manner: When I injected the timestamp after the report generation, but before the collection, in a manner resembling something like that: |
I'm submitting a ...
What is the current behavior?
Allure report is displaying date and time as unknown when we generate allure by providing junit xml as input. we have testsuite tag like below in junit xml output, we could have used that to display date and time
<testsuite errors="14" failures="10" hostname="cbgtalosbld02" id="0" name="LocalSuiteIDOL" package="com.zantaz.junit.testsuites" tests="1251" time="391.212" timestamp="2017-10-05T10:36:22">
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Generate JUNIT XML Output/Report by executing junit test cases and provide that as input to allure2
What is the expected behavior?
It should display date and time correctly in overview page. If there are multiple test suites like above ,we could have cumulated the complete time that accordingly
<testsuite errors="14" failures="10" hostname="cbgtalosbld02" id="0" name="LocalSuiteIDOL" package="com.zantaz.junit.testsuites" tests="1251" time="391.212" timestamp="2017-10-05T10:36:22">
<testsuite errors="13" failures="11" hostname="cbgtalosbld02" id="1" name="LocalSuiteLucene" package="com.zantaz.junit.testsuites" tests="1381" time="375.624" timestamp="2017-10-05T10:43:42">
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: