6.2 Software Testing - CodeRefinery 2024 Mar
Channel: CodeRefinery
Date: 21/03/2024

Software testing is a fundamental part of modern software development, and especially important for science since results should be correct.  Luckily, it's not so hard to get started, and anyone can do it. This is a crash course for scientists to get started testing their software.

Tools covered include concepts of testing for science, unit testing, pytest, continuous integration, and GitHub actions.  We make demos in Python, but have examples in other languages and this will apply to every language in some form.

https://coderefinery.github.io/testing/

00:00 Introduction
01:30 § Motivation
13:05 § Testing locally
29:14 § Automated testing
57:38 § Test design
1:32:24 Q&A

-----

This is part of the CodeRefinery March 2024 workshop.  The videos are available to everyone, but may be most useful to the people who attended the workshop and want to review later.  In this workshop, week 1 was redesigned and day 1 starts with concepts in the GitHub web interface, and days 2-3 move to local work.

Playlist: https://www.youtube.com/playlist?list=PLpLblYHCzJADIsbUhXSrC0qW5wDsH-F9U

Workshop webpage: https://coderefinery.github.io/2024-03-12-workshop/

CodeRefinery: https://coderefinery.org/