-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use 0 seconds as execution time when a test file was not executed by test runner #22
Comments
…t Knapsack Pro API requirement to post only time execution greater than zero. Related: * KnapsackPro/knapsack_pro-ruby#71 * https://github.com/KnapsackPro/knapsack-pro-core-js/issues/3
Just note: It's possible now to set tests timing to 0 seconds. Knapsack Pro API will accept such time. |
Use 0 seconds as execution time when a test file was not executed by a test runner (Cypress/Jest) This issue solves 2 problems:
solutionShould be done on story |
This should help with edge case when test file cannot be executed by test runner and because of that we won't record timing of that test file.
Edge case could happen when:
In such case, we could assume the test file has some default timing
like 0.1sof 0 seconds.Solution idea
We should improve this part of code:
Related
A similar issue was solved here: KnapsackPro/knapsack_pro-ruby#71 (this is old PR, we should use 0s as default time for not executed tests).
The text was updated successfully, but these errors were encountered: