HeFDI Code School: Sustainable Research Software - Continuous Integration and Test Driven Development
- 1. Technische Universität Braunschweig
- 2. Universität Stuttgart
- 3. Universität Darmstadt
Description
Continuous Integration (CI) and Test-driven development (TDD) are two software development practices that complement each other and can be used together to improve the quality and efficiency of software development.
CI is a development practice that emphasizes integrating and testing code changes frequently in a shared repository. The goal is to catch bugs and issues early in the development process before they become more difficult and expensive to fix.
TDD, on the other hand, is a development approach that emphasizes writing automated tests before writing the code. The developer writes a failing test, then writes the code to make the test pass, and finally refactors the code to improve its quality. This cycle is repeated for each new feature or change to the code.
When used together, CI and TDD can help to ensure that the code is always in a functional and deployable state and that any issues or bugs are caught early in the development process.