Source: https://seerepo.com/compare/gruntwork-io/terratest/vs/hashicorp/vault
Markdown source: https://seerepo.com/compare/gruntwork-io/terratest/vs/hashicorp/vault.md
Description: terratest and vault share 14 technologies: pgx, s3, MySQL, Postgres, Google, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/pquerna/otp, golang.org/x/oauth2, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/aws/aws-sdk-go-v2/service/iam, and github.com/aws/aws-sdk-go-v2/service/sts. Both are written in Go.

# terratest vs vault

terratest and vault share 14 technologies: pgx, s3, MySQL, Postgres, Google, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/pquerna/otp, golang.org/x/oauth2, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/aws/aws-sdk-go-v2/service/iam, and github.com/aws/aws-sdk-go-v2/service/sts. Both are written in Go.

- [gruntwork-io/terratest](https://seerepo.com/r/gruntwork-io/terratest):  Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.
- [hashicorp/vault](https://seerepo.com/r/hashicorp/vault): A tool for secrets management, encryption as a service, and privileged access management

## What they share and what sets them apart

- In common: pgx, s3, MySQL, Postgres, Google, github.com/aws/aws-sdk-go-v2/credentials, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/pquerna/otp, golang.org/x/oauth2, github.com/Azure/azure-sdk-for-go/sdk/azcore, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/aws/aws-sdk-go-v2/service/iam, github.com/aws/aws-sdk-go-v2/service/sts
- Only in terratest: pq, github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage, aws-lambda-go, github.com/sirupsen/logrus, 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
- Only in vault: MongoDB, github.com/hashicorp/go-memdb, github.com/jellydator/ttlcache/v3, Consul, etcd, github.com/gocql/gocql, github.com/michaelklishin/rabbit-hole/v2, cloud.google.com/go/cloudsqlconn, github.com/denisenkom/go-mssqldb, github.com/influxdata/influxdb1-client, Apple, github.com/aerospike/aerospike-client-go/v8, github.com/aliyun/aliyun-oss-go-sdk, github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue, github.com/aws/aws-sdk-go-v2/service/dynamodb, github.com/Azure/azure-storage-blob-go, github.com/cockroachdb/cockroach-go/v2, github.com/go-zookeeper/zk, github.com/hashicorp/vault-plugin-database-couchbase, github.com/hashicorp/vault-plugin-database-elasticsearch, github.com/hashicorp/vault-plugin-database-mongodbatlas, github.com/hashicorp/vault-plugin-database-redis, github.com/hashicorp/vault-plugin-database-redis-elasticache, github.com/hashicorp/vault-plugin-database-snowflake, github.com/ncw/swift, github.com/patrickmn/go-cache, github.com/SAP/go-hdb, go.etcd.io/etcd/client/v2, Okta, approle, github.com/hashicorp/vault/sdk, github.com/hashicorp/go-secure-stdlib/password, github.com/go-jose/go-jose/v4, github.com/go-ldap/ldap/v3, github.com/hashicorp/cap, github.com/hashicorp/vault-plugin-auth-alicloud, github.com/hashicorp/vault-plugin-auth-cf, github.com/hashicorp/vault-plugin-auth-kerberos, github.com/hashicorp/vault-plugin-auth-gcp, github.com/hashicorp/vault-plugin-auth-jwt, github.com/hashicorp/vault-plugin-auth-oci, github.com/Azure/go-autorest/autorest/adal, github.com/chrismalek/oktasdk-go, github.com/duosecurity/duo_api_golang, github.com/golang-jwt/jwt/v4, github.com/hashicorp/go-pgmultiauth, github.com/hashicorp/vault-plugin-auth-azure, github.com/hashicorp/vault-plugin-auth-kubernetes, github.com/hashicorp/vault-plugin-secrets-ad, github.com/hashicorp/vault-plugin-secrets-openldap, github.com/jcmturner/gokrb5/v8, github.com/pavlo-v-chernykh/keystore-go/v4, github.com/asaskevich/govalidator, github.com/hashicorp/go-hclog, github.com/hashicorp/consul-template, github.com/aws/aws-sdk-go-v2/service/ec2, github.com/oracle/oci-go-sdk, github.com/aws/aws-sdk-go-v2/feature/ec2/imds, github.com/hashicorp/go-discover, Nomad, OpenTelemetry, cloud.google.com/go/compute/metadata, github.com/aliyun/alibaba-cloud-sdk-go, github.com/armon/go-metrics, github.com/coreos/go-systemd, github.com/google/go-metrics-stackdriver, github.com/TritonDataCenter/triton-go/v2, Prometheus

## Side by side

| | terratest | vault |
|---|---|---|
| Size | 118,216 lines written, 36 code files | 1,021,013 lines written, 2,722 code files |
| Who writes it | 0.1% of its commits signed by AI. With Claude Code and Amp | 0.4% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 16, 2026, 2,959 commits, 7,992 stars | Last push November 19, 2026, 22,473 commits, 36,529 stars |
| Tests | 683 test files. 80.6% of its code files have a test that imports them | 1,943 test files. 34% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, terratest or vault?

vault, with 1,021,013 lines written; terratest has 118,216.

The proof: [hashicorp/vault's code at commit 919514d](https://github.com/hashicorp/vault/tree/919514d4c0335be21ae01bd605471624aa393f00)

### Which has more GitHub stars, terratest or vault?

vault, with 36,529 stars; terratest has 7,992.

The proof: [hashicorp/vault on GitHub](https://github.com/hashicorp/vault)

### Which has more tests, terratest or vault?

vault, with 1,943 test files; terratest has 683.

The proof: [hashicorp/vault's code at commit 919514d](https://github.com/hashicorp/vault/tree/919514d4c0335be21ae01bd605471624aa393f00)

### Which was updated more recently, terratest or vault?

vault: its last push was on November 19, 2026, and terratest's on November 16, 2026.

The proof: [hashicorp/vault's commits on GitHub](https://github.com/hashicorp/vault/commits)

### Which has more commits signed by AI, terratest or vault?

vault: an AI signed 0.4% of its commits, with GitHub Copilot; in terratest, 0.1%.

The proof: [the commits each tool signed in hashicorp/vault](https://seerepo.com/r/hashicorp/vault/ai)

## Sources

- gruntwork-io/terratest: Read on November 18, 2026, at commit a0a921a (https://github.com/gruntwork-io/terratest/tree/a0a921a187ba8a50cc4fcda8496187ca10b2d9b5)
- hashicorp/vault: Read on November 19, 2026, at commit 919514d (https://github.com/hashicorp/vault/tree/919514d4c0335be21ae01bd605471624aa393f00)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
