1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00
Files
mariadb-columnstore-engine/docs/How_to_write_MTR_tests.md

9 lines
533 B
Markdown

MTR is a regression test framework for MariaDB/MySQL. It is written in Perl.
[Here](https://github.com/mariadb-corporation/mariadb-columnstore-engine/blob/develop/mysql-test/columnstore/basic/t/mcol271-empty-string-is-not-null.test) is an example of MTR test. When you right the test you can ask MTR to produce a golden file automatically like this.
```shell
./mtr --record --extern socket=/run/mysqld/mysqld.sock --suite=columnstore/basic test_name
```
The golden file goes into mysql-test/columnstore/basic/r/test_name.result.