HeFDI Code School Advanced Track: Test driven development
Fourth workshop in the workshop series on how to make research software more sustainable
- https://www.uni-giessen.de/de/ueber-uns/veranstaltungen/fortbildung/hcs-advanced-4-2025
- HeFDI Code School Advanced Track: Test driven development
- 2025-07-11T09:00:00+02:00
- 2025-07-11T13:00:00+02:00
- Fourth workshop in the workshop series on how to make research software more sustainable
11.07.2025 von 09:00 bis 13:00 (Europe/Berlin / UTC200)
Online, register here: https://redcap.kks.uni-marburg.de/surveys/?s=YPKFM8TYHRYXJHEA
Together with the colleagues from Suresoft project and NFDI4ING we offer a series of four workshops.
Participants of these workshops will learn methods and techniques to increase the quality of their code, how to produce understandable and therefore reusable code, and to increase the sustainability of scientific software. These workshops are directed at researchers who already have experience with developing scientific software, and therefore require general knowledge of a programming language and a merely basic understanding of object-oriented programming and versioning.
Test driven development
Continuously changing requirements lead to rapidly evolving software. While adapting the source code to fit the requirements, we have to ensure that code changes work as intended and don’t break existing features. At the same time the source code needs to stay maintainable and extensible to allow changes for new features in the future.
This is where the development approach of Test-Driven Development comes in. It 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 and therefore ensures that every new or existing feature is always tested and working as intended. In this workshop we will collaboratively work through a TDD example.