Replies: 2 comments 2 replies
-
Inviting @Markoutte @zishkaz @rudolf101 @tochilinak @tamarinvs19 @egiptipavel |
Beta Was this translation helpful? Give feedback.
0 replies
-
We have discussed that stopping right after reaching 100% coverage is a bad approach (#1831) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
For JavaScript now Node.js is starting several times during test generation.
In Base mode is starts for every execution.
In Fast mode is starts for a pack of executions.
Currently user is suggested to select Node.js timeout and it is not clear what it means.
Need to think of a better timeout setting for User to select.
Suggested behavior
There can be only
Timeout for generation
(60 sec default - as it is made for Java)Timeout for each method under test can be calculated before generation:
Divide remaining overall timeout to remaining number of methods under test.
If 100% coverage of the method under test is reached - stop it's analysis.
Goals of the approach
Generation time is predictable for the user.
Time is more flexibly distributed between other functions.
Possible alternatives
You can consider other possible improvements for time distribution.
Beta Was this translation helpful? Give feedback.
All reactions