See the demos sub-directory to see how to write your own tests.

A simple example:

```Go
package template

import (
	"testing"

	. "github.com/pingcap/tidb-test/large_txn"
)

func TestT(t *testing.T) {
	conf := &Config{
		Conn: ConnConfig{
			User: "root",
			Host: "127.0.0.1",
			Port: 4000,
			DB:   "test",
		},
		Prepare: PrepareConfig{
			WorkerCount: 4,
			Task: BasePrepareTask{
				InsertCount:    1000,
				RowsEachInsert: 50,
			},
		},
		Run: RunConfig{
			WorkerCount: 6,
			Task: BaseRunTask{
				LargeUpdate:        LargeUpdate{
					TxnMode: Pessimistic,
				},
				SelectRandomPoints: SelectRandomPoints{},
				UpdateRandomPoints: UpdateRandomPoints{},
			},
		},
	}

	RunTest(conf)
}
```

You can also run cases on k8s easily, see the following example (note the first case may take a long time because it will wait for tidb available):

![run-on-k8s](assets/run-on-k8s.png)

To update the cases image, do following actions:
1. `make upload`, which will print an url.
2. visit the [build page](http://172.16.4.61:30001/blue/organizations/jenkins/build-image/activity), click run and enter the url.
