pingcap / pingcap/tidb

Support Testing Anything Protocol unit testing framework for TiDB

Open
#33,447 0 comments 0 reactions 0 assignees View on GitHub
help wanted type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement request

[TAP](http://testanything.org), the Test Anything Protocol, is a simple text-based interface between testing modules in a test harness. It decouples the reporting of errors from the presentation of the reports.
[pgTAP](https://pgtap.org/) is a unit testing framework for PostgreSQL written in PL/pgSQL and PL/SQL. It includes a comprehensive collection of TAP-emitting assertion functions, as well as the ability to integrate with other TAP-emitting test frameworks.

Maybe we can support the tap ut framework for TiDB and just use sql as code in tidb ut.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.