+1 for this great idea. Although I am not sure if there is an easy and accurate way to "find new or modified unit tests".
Thanks, Haiting On 2022/03/07 03:11:47 包子 wrote: > Hi, I want to discuss how to improve the stability of unit testing.I found > that most flaky unit tests can be reproduc locally and only need to be > executed a few more times. > > Can we add the following mandatory constraints to ensure the stability of > unit testing of code? > 1. If new / modified unit tests are included in PR, they need to be run > continuously on CI for more than n times. > 2. We can write scripts and parse git change records to find new or modified > unit tests. > >