- Advanced Track
- Online
Scientific software is in many disciplines crucial for understanding and reusing research data and a cornerstone for reproducibility of research results. Although many researchers require programming skills, systematic training outside of computer science courses rarely takes place.
Together with the colleagues from Suresoft project and NFDI4Ing we offer a series of four online workshops.
Scientific software is often hard to maintain and reuse. A major reason for the instability of software is that it is subject to continuous change. This is especially true for software in the scientific context, since the scientific discourse is open-ended. Change has caused difficulties for scientific software developers from the very beginning, and it continues to do so. In parallel, the software engineering community has produced numerous developments that we as research software developers can take advantage of to significantly support our work.
This workshop explores the synergy between Continuous Integration (CI) and Test-Driven Development (TDD) as a framework for high-quality software delivery. It demonstrates how frequent integration combined with test-first methodologies ensures a stable, deployable codebase and streamlines the overall development lifecycle.
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.
Your Benefits
This HeFDI Code School series adresses the need of especially early career researchers on learning how to create good scientific software and increase the quality of their code for better reusability and sustainability.
Participants of these workshops will learn about
- 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.
Especially in this workshop you will get
- an introduction to continuous integration (CI),
- to see a practical example with GitHub CI,
- an introduction to test driven development
- to see an example application called collaborative TDD Kata (example application).
Instructors
The instructors are Jan Linxweiler, Sören Peters, Sven Marcus, Dennis Gläser and Moritz Schwarzmeier.
Language
The workshops will be held in English.
Prerequisites
These workshops are intended for 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.
We therefore assume some basic knowledge of the python programming language and the version management system git. At least, you should be able to read and understand python. In general, the concepts we address are programming language agnostic. Hence, you should be able to easily use them with your favorite programming language.
During these workshops, we will work collaboratively using Visual Studio Code, which can be used in the browser without any further installation. However, we recommend that you install the following software in order to be able to code yourself and/or to reproduce later:
- Visual Studio Code
- Please install the following extensions within Visual Studio Code
- Live Share
- Python
- Note: To join a collaborative session within Visual Studio Code using Live Share, you need to have a GitHub (or Microsoft) account. You can register for a GitHub account on github.com.
- As we will use a collaborative session in VS Code you don’t necessarily need to have Python installed on your local machine. But, in order to work on your own machine, you can download and install Python from python.org.
Publications
Code examples and the slides can be found on Zenodo.