Documentation Home
The MySQL Test Framework, Version 2.0
Download this Manual
PDF (US Ltr) - 0.5Mb
PDF (A4) - 0.5Mb
EPUB - 131.1Kb


The MySQL Test Framework, Version 2.0  /  Creating and Executing Unit Tests

Chapter 7 Creating and Executing Unit Tests

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.