pingcap/tidb

Make test suite more powerful

Open

#9,907 创建于 2019年3月27日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (40,090 star) (6,186 fork)batch import
component/testhelp wantedtype/enhancement

描述

Feature Request

Is your feature request related to a problem? Please describe:

In /cmd/explaintest we have a test suite like mysqltest, however, we does not support all of its features, like change users, error checks and many other features.

TODO: list of unsupported features

Describe the feature you'd like:

https://dev.mysql.com/doc/dev/mysql-server/latest/PAGE_MYSQLTEST_LANGUAGE_REFERENCE.html

Maybe we does not need all the features of mysqltest.

Teachability, Documentation, Adoption, Migration Strategy:

Since this is just a test suite, maybe it is not necessary to be compatible with old versions?

Also we need a document for writing such tests.

贡献者指南