-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 slow test detection #6680
Comments
I don't understand the issue. The duration is reported for tests and suites. Don't look at a suite time if you don't need it |
In the current state of things, slow top-level tasks are reported by highlighting the duration of the task. If a test duration is higher than the threshold, it is not highlighted. I would like the same highlight at the test level. |
It is a bug then, and not a feature request |
Hello @JesusTheHun. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with |
Clear and concise description of the problem
The conclusion of #6534 is that slow test detection apply to any top level task within a file.
I use slow test to detect issues in a test design, so detecting a slow suite does not help me since tests can be added to a suite, leading to an increase in the overall time.
I understand that some people use that to make sure the test time is evenly distributed between shards ; that’s not my usage.
Suggested solution
Either a granularity option, or a new option to detect slow test only.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: