Test scheduling for large test suites
- Mentors
- Bartosz Majsak, Aslak Knutsen
- Organization
- JBoss Community
In real life projects it is not uncommon that the whole test suite takes hours to execute completely. This makes it hard to follow the good practices to execute the complete test suite for each commit. Providing early negative feedback (fail the tests as early as possible) could streamline the developer work. In order to solve the problem it would be better to reorder the tests so most relevant test are executed first so they have the chance to fail early. “Most relevant” could mean : dependant on recently changed code, recently failing or most frequently failing tests.