MySQL 8.4.4
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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.