Wednesday, September 19, 2012

Michael Feathers: Precognitive Build Servers

Michael Feathers: Precognitive Build Servers: "There is alternative, though.  We can use prior experience to maximize the speed of feedback that we get from a build.  Kent Beck experimented in this area years ago with his JUnitMax project.  It took recently failed tests and pushed them forward in the build so that they ran very early.  I've been experimenting with a variation of that: build a map of test failures to files which were modified in the commit where the failures occurred.  Then, on every new commit, take the set-union of the set of tests that have ever failed when the files in the commit have been touched along with the set of all tests recently introduced, and run them as the build. "

'via Blog this'