Is it possible or is it absolutely necessary to install TeamCity in order to automatically run tests before a commit?
Short answer: No. Long answer: I suppose you could do your commit using maven, and have the tests run before the commit occurs, stopping the build (and therefore the commit) if the tests fail. Team City however will not easily allow you to run tests before a commit, as it uses your vcs to access the code you want it to build and test, although you can configure it to allow a private build on your personal git branch, pulling your changes into the head only if your tests all pass, but this is overkill for most teams, and you can probably achieve something similar with Jenkins/Hudson or any other CI server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With