pingcap/tidb

Make test suite more powerful

Open

#9,907 opened on Mar 27, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (40,090 stars) (6,186 forks)batch import
component/testhelp wantedtype/enhancement

Description

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.

Contributor guide

Make test suite more powerful · pingcap/tidb#9907 | Good First Issue