---
# System prepended metadata

title: Testing lesson October 2025
tags: [archive]

---

# Testing lesson October 2025

### Instructors: OT, JH

### Languages
- Concentrate on Python
- Work with C++ in demo: installation of Catch2 (or other framework), run some example code

### Icebreakers
- Are you testing your software?
- When is it OK not to add tests?
- What have you tested, and was it easy or hard to do?

Detailed schedule / timings (CET)

- 11:50-12:00 Icebreaker / connecting time
- 12:00-12:20 Motivation (JH)
- 12:20-12:45 Testing locally (JH)
  - explain the exercise: 5 min
  - 20 min exercise
- 12:45-13:05 Automated testing (both)
  - demo
- 13:05-13:15 Break (xx:28 - xx:38)
- 13:15-14:00 Test design (OT)
  - explain the exercise: 10 min
  - 20 min exercise (xx:02)
  - discussion and type-along of advanced exercises: 10 minutes (done local testing addtition as demo with catch2, skipped fizzbuzz demo) (xx:15)
      - C++ and catch2 for fizzbuzz or randomness
- 14:00-14:15 Conclusions and recommendations (both) (xx:25)
- 14:15-14:30 Outlook for day 9 (Latest start: xx:25)


## Notes/ideas

### Motivation

### Testing locally
- Suggest participants to do exercises in Python
- Demo testing for C++?

### Automated testing
- Run as demo

### Test design
- Mention pytest fixtures, pytest-MPI
- Demo 1, 7, 8.also 10?? Use Python


### Exercises
- Testing locally: Do local-1. Local-2 is optional
- Test design- participants pick one of the first 5, we demo more complex ones later