pingcap/tidb

Make test suite more powerful

開放

#9,907 建立於 2019年3月27日

 (0 則留言) (0 個反應) (0 位負責人)Go (6,186 個分叉)batch import
component/testhelp wantedtype/enhancement

倉庫指標

星標
 (40,090 顆星)
PR 合併指標
 (平均合併 14天 4小時) (30 天內合併 346 個 PR)

描述

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.

貢獻者指南