MySQL 8.0.39
Source Code Documentation
Creating and Executing Unit Tests

Table of Contents

Storage engines and plugins can have unit tests to test their components. The top-level Makefile target test-unit runs all unit tests: It scans the storage engine and plugin directories, recursively, and executes all executable files having a name that ends with -t.

The following sections describe MySQL unit testing using TAP and the Google Test framework.