Unit testing is a software testing method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures, are tested to determine whether they are fit for use.



How to Unit Test Machine Learning Code
Wouldn’t suck to have to throw away perfectly good ideas because our implementations were buggy?
unit-tests testing tutorial article
How to Set Up a Python Project For Automation and Collaboration
How to set up a Python repo with unit tests, code coverage, lint checking, type checking, Makefile wrapper, and automated build with GitHub Actions.
python unit-tests git testing
Behavioral Testing of NLP models with CheckList
An overview of the “CheckList” framework for fine-grained evaluation of NLP models
nlp natural-language-processing article tutorial


The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
unit-tests e2e-tests testing library
A machine learning testing framework for sklearn and pandas. The goal is to help folks assess whether things have changed over time.
unit-tests scikit-learn pandas machine-learning
Pytest Board
Continuous pytest runner with awesome visualization.
unit-tests pytest visualization testing
Table of Contents
Share a project
Share something you or the community has made with ML.
Topic experts