| type | modules | |||
|---|---|---|---|---|
| title | Software testing and continuous integration | |||
| github_repo | https://github.com/school-brainhack/testing_CI_module | |||
| website | ||||
| tags |
|
|||
| summary | Introduction to testing practices for software development and in particular continuous integration, with a guided hands-on example. | |||
| image | testing.png |
The estimated time to complete this training module is 2h.
The prerequisites to take this module are:
- the Using git and github module.
- the A brief introduction to the bash shell module.
It is highly recommended to also have done the python script module and the packaging module, but that's not strictly necessary for completing the exercise.
If you have any questions regarding the module content please ask them in the relevant module channel on the school Discord server. If you do not have access to the server and would like to join, please send us an email at school [dot] brainhack [at] gmail [dot] com.
The new slides presented by Hao-Ting Wang is here and presented at Brainhack School Montreal 2025.
The previous content is as followed: The slides are adapted from the original QLSC 612 course in 2020 by Greg Kiar
The video of the presentation is available below:
<iframe width="560" height="315" src="https://www.youtube.com/embed/TIPIap8rZyE" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>- Fork this repo for the hands on part.
- Follow along the hands on material. You will implement the unit tests and the github action to execute the unit test and integration test.
- Follow up with your local TA(s) to validate you completed the exercises correctly.
- 🎉 🎉 🎉 you completed this training module! 🎉 🎉 🎉
To learn more about pytest and all the nice things it offers, refer to the pytest documentation. You can also check tutorials such as this one or watch this PyConDE keynote.
Illustration by Nikita Golubev.