Skip to content
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

Add time measure to JUnit XML reports #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AJIOB
Copy link
Contributor

@AJIOB AJIOB commented Jun 21, 2024

  • Implement time calculation
  • Add timestamp tag to the testcase
  • Time tag is not added if calculation generates an error
  • Add new functionality tests

* Add timestamp tag to the testcase
* Time tag is not added if calculation generates an error
* Add new functionality tests
@AJIOB
Copy link
Contributor Author

AJIOB commented Jun 21, 2024

Hi @williamdes

This is the second part of #176, that was already implemented.

I hope it will be also useful for others

@AJIOB AJIOB mentioned this pull request Jun 21, 2024
@wiki5
Copy link

wiki5 commented Aug 29, 2024

I really want to generate Junit xml output for the unit tests I have written? Could you please guide me on how to use this fix?

Thanks

@williamdes
Copy link
Collaborator

I really want to generate Junit xml output for the unit tests I have written? Could you please guide me on how to use this fix?

Thanks

I merged #184 from @crramirez and you can read more about junit on https://github.com/kward/shunit2?tab=readme-ov-file#junit-reports

@crramirez could you test this PR so I can merge it safely ?

@kward can you review it ?

@crramirez
Copy link
Contributor

Yes I'll checkout this branch and integrate it in my work flow. It will be easy to see the spent time in the reporters of the CI tool

@crramirez
Copy link
Contributor

crramirez commented Oct 23, 2024

Worked perfectly well in my case. @AJIOB excellent job!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants