Continuous integration

Hyrum’s Law

With a sufficient number of users of an API, it does not matter what you promise in the contract, all observable behaviors of your system will be depended on by somebody.

How can we make sure that the code we write carries on working over time?

Who here has written a script, only to come back next time you need it and find it no longer works?

Unit testing is great, but relies on you occasionally running the unit tests!

Why would we need to keep running unit tests?

Changes you make to your function might affect behaviour in a way that:

Do I have to remember to keep running my tests?

No.

Continuous Integration (CI) is the process of automating the build and testing of code every time a team member commits changes to version control.

Travis

» Demo of Travis integration for this repo

» Demo of Buildbot integration for Chaste


« back