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

Feature request: timing tests #200

Open
DexterMagnific opened this issue Jun 17, 2019 · 3 comments
Open

Feature request: timing tests #200

DexterMagnific opened this issue Jun 17, 2019 · 3 comments

Comments

@DexterMagnific
Copy link

Dear developer,

I know from the doc that timeouts can be set for unit tests.
Is there a way to know how much time a unit test took, regardless of any set timeout ?

Thanks

@brarcher
Copy link
Contributor

The XML logging list test duration. Docs here and the code creating the duration output here.

Will that suffice for what you are looking for?

@DexterMagnific
Copy link
Author

Yes, I was using the stdout output so the duration was not printed. I willo try to make a JSON file out of the statistics. Do you know a JSON structure for storing test results ?

@brarcher
Copy link
Contributor

Do you know a JSON structure for storing test results ?

Not specifically. You may have to make one up. (:

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

No branches or pull requests

2 participants