MySQL 8.4.0
Source Code Documentation
MySQL Test Programs

Table of Contents

This chapter describes the test programs that run test cases. For information about the language used for writing test cases, see mysqltest Language Reference.

The test suite uses the following programs:

  • The mysql-test-run.pl Perl script is the main application used to run the MySQL test suite. It invokes mysqltest to run individual test cases. (Prior to MySQL 4.1, a similar shell script, mysql-test-run, can be used instead).

  • mysqltest runs test cases.

  • The mysql_client_test program is used for testing aspects of the MySQL client API that cannot be tested using mysqltest and its test language.

  • The mysql-stress-test.pl Perl script performs stress-testing of the MySQL server.