Smart unit tests choosing after commit

view story

http://stackoverflow.com – I'm looking for a tool that can solve following problem: Our complete unit tests suite takes hours to complete. So when programmer commits code, he gets tests result after few hours. What we would like to achieve is to shorten time for finding simple bugs. This could be done by smart selection of few unit tests which would be run just before/right after the commit. Of course we don't want to randomly pick this unit test - we want unit tests that will more likely find a bug. Idea to solve this problem without additional software: Make code coverage for each single unit test. Knowing which fil (HowTos)