Introduction to unit testing

Open to
Government analysts
Training category
Type of training
Four hours
Data Science Campus Faculty
Data Science Campus Faculty


This course will give you an understanding of unit testing: the practice of designing, creating and executing tests for your code in both R and Python. Unit testing is crucial in guaranteeing the quality of your code and helps to increase efficiency in development. Unit tests are an important component in reproducible code and can be used by analysts, data scientists and software developers.

Learning outcomes

The course consists of a mix of software development theory and good practice along with specific test implementation in both R and Python. There are tasks throughout the course and longer final exercises designed to give the participant experience applying unit testing to problems.

How to book

Please use your Learning Hub account to enrol on this course.

If you do not have a Learning Hub account, please contact


If you would like more information about this course, please email 

Related courses

Best practice in programming – clean code

Command line basics

Introduction to R

Introduction to Python