tidb-dev-guide icon indicating copy to clipboard operation
tidb-dev-guide copied to clipboard

Create an overview of testing procedures

Open morgo opened this issue 4 years ago • 1 comments

I was talking to a contributor today, and he asked what tests are expected for a PR.. and if there is any overview of the testing procedures. I actually don't believe there is!

By my estimate there are also at least 6 types of tests that could apply:

  • unit tests
  • integration tests (both in tidb repo and external)
  • performance tests
  • plan regression
  • chaos
  • scenario

morgo avatar Sep 08 '21 15:09 morgo

We have a simple Write and run unit tests. It's a step-by-step guide for fresh newcomers to get started. It's would be nice if we have a richer chapter in 'Contribute to Tidb' about tests.

zhangyangyu avatar Sep 09 '21 02:09 zhangyangyu