pingcap / mysql-tester

A Golang implementation of MySQL Test Framework
Apache License 2.0
61 stars 62 forks source link

mysql_tester: support sub dir #102

Closed Defined2014 closed 11 months ago

Defined2014 commented 1 year ago

Do three things in this PR

  1. support test cases in sub dir
  2. when create a sub dir, mysqltester will use `instead of` in database name. For example, if we have a sub dir test cases like types/const_test.go, it will use database named types_const instead of types/const