Re: Re: Tool to detect who broke a particular test
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <[email protected]> |
Malte Finsterwalder [email protected] [junit] wrote on 9.6.2014 1:44: > Or use an integration server, that does seperate runs for every commit > by every developer. I think TeamCity can do something like this. It's also possible to use a spare workstation as the integration machine, as described in http://www.jamesshore.com/Agile-Book/continuous_integration.html under "The Continuous Integration Script". With Git it would also be possible to use commit hooks to prevent broken commits from reaching other developers, the same way as TeamCity's pre-commit build: The developers will push new commits into an integration repository (maybe one repo per developer or some other way to handle concurrent pushes) and there a commit hook will run all the tests and if they pass, will push to the central repository. No developer has direct push access to the central repository, so all commits that they can read from there will have passed their tests. -- Esko Luontola www.orfjackal.net ------------------------------------ Posted by: Esko Luontola <[email protected]>