☁️Continuous Integration (CI)
Also known as CI, Continuous Integration Server
Merging code often. A machine builds and tests each change.
Think of it like
Think of it like a spell check that looks at each word as you type it.
Example
Emma opens a pull request. Within four minutes, CI builds it and runs 600 tests, and a red cross shows one test broke.
Why it matters
Bugs found minutes after they were written are cheap. Found weeks later, nobody remembers why the code is that way.
Definition
Common mistake
Key takeaways
- 1Merge often. Small changes, daily.
- 2Check every change. Build and test on a server.
- 3Fix red fast. A broken build comes first.