I’m running the JUnit stage with the help of Gradle runner in the Jenkins pipeline. Recently I have faced randomly missing (almost 6-7k) test cases issue in random pipelines. After analysed and updated the gradle version from 7.4.2 to recent version then the missing test cases was significantly reduced now its like only few test cases only missing but still not completely resolved this issue. How can I debug further to fix this randomly missing test cases issue?
Never heard of randomly disappearing test cases.
Does your pipeline maybe only record actually executed test cases and the “missing” ones were up-to-date or coming from build cache?