Interested in R package validation? Learn about Litmus

Aida Gjoka

Headshot of Aida Gjoka

Aida completed her PhD in Statistics at Newcastle University. She enjoys programming in R and applying statistical methods to real-world problems.

Advanced Testing in Python

Authors: Aida Gjoka & Russ Hyde

Writing tests is one of the best ways to keep your Python code reliable and reproducible. This post builds on our previous blog about Python testing with pytest, and explores some of the more advanced features it offers. We will show how to make your tests more reproducible, easier to manage and demonstrate how writing simple tests can save you time in the long run.

First Steps in Python Testing

Author: Aida Gjoka

Programming is a craft, and in data science we often spend countless hours coding. Software testing can improve the quality of the code you write as a data scientist. Here, we introduce the pytest framework and show how it can be used to test Python functions.