terratest vs tidb

terratest and tidb share 9 technologies: s3, MySQL, Google, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, and github.com/aws/aws-sdk-go-v2/service/sts. Both are written in Go.

Read it as markdown

What they share and what sets them apart

gruntwork-io

terratest

Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.

Go8kRead on November 18, 2026, at commit a0a921aWhat is terratest built with?

Only in terratest

  • pgx
  • pq
  • Postgres
  • github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage
  • github.com/pquerna/otp
  • golang.org/x/oauth2
  • aws-lambda-go
  • github.com/sirupsen/logrus
  • github.com/aws/aws-sdk-go-v2/service/iam
  • github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6
  • github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/keyvault/armkeyvault
  • github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor
  • github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v6
  • github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources
  • github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions

In common

pingcap

tidb

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

Go40.7kRead on November 18, 2026, at commit 31134f3What is tidb built with?

Only in tidb

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
terratest118,216 lines written36 code files
tidb1,767,951 lines written1,558 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
terratest0.1% of its commits signed by AIWith Claude Code and Amp
tidb0% of its commits signed by AIWith GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
terratestLast push November 16, 20262,959 commits7,992 stars
tidbLast push November 18, 202628,030 commits40,746 stars
TestsThe files that test the code, and the share of code files a test imports.
terratest683 test files80.6% of its code files have a test that imports them
tidb2,905 test files90.2% of its code files have a test that imports them

Frequently asked questions

Which is bigger, terratest or tidb?
tidb, with 1,767,951 lines written; terratest has 118,216.

The proof: pingcap/tidb's code at commit 31134f3

Which has more GitHub stars, terratest or tidb?
tidb, with 40,746 stars; terratest has 7,992.

The proof: pingcap/tidb on GitHub

Which has more tests, terratest or tidb?
tidb, with 2,905 test files; terratest has 683.

The proof: pingcap/tidb's code at commit 31134f3

Which was updated more recently, terratest or tidb?
tidb: its last push was on November 18, 2026, and terratest's on November 16, 2026.

The proof: pingcap/tidb's commits on GitHub

Which has more commits signed by AI, terratest or tidb?
terratest: an AI signed 0.1% of its commits, with Claude Code and Amp.

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.Private repo? Sign in with GitHub

Or look inside SeeRepo's own →