{"adoption": {"forks": 108, "observed_at": "2026-08-28T04:03:49.429480+00:00", "stars": 1161}, "canonical_url": "https://ross.abutalabs.com/products/pgtap", "card": {"archived": false, "artifact_type": "library", "description": "PostgreSQL Unit Testing Suite", "domain": ["databases", "testing", "developer-tools"], "enriched": true, "function": ["testing"], "health_score": 94, "homepage": "https://pgtap.org", "language": "PLpgSQL", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["theory/pgtap"], "name": "theory/pgtap", "platform": ["windows", "cli"], "pushed_at": "2026-08-23T21:43:29+00:00", "repo": "theory/pgtap", "stars": 1161, "tags": ["postgresql", "tap", "unit-testing", "plpgsql", "database-testing", "xunit", "linux", "macos"], "topics": ["pgtap", "pgsql", "psql", "tap", "testing", "testing-framework", "testing-library", "unit-testing"], "urls": [], "use_cases": ["unit test postgresql database functions", "verify database schema structure in tests", "test triggers and views in postgres", "run TAP-emitting database tests with a harness", "write xUnit-style tests inside postgres", "assert query results match expected sets"], "what_it_is": "pgTAP is a unit testing framework for PostgreSQL written in PL/pgSQL and PL/SQL. It provides a comprehensive set of TAP-emitting assertion functions for testing schemas, functions, triggers, and query results, and integrates with TAP harnesses or xUnit-style testing.", "when_to_avoid": ["you use a database other than PostgreSQL", "you cannot install extensions on the database server host", "you only need application-level tests that happen to touch the database"], "when_to_choose": ["you develop PostgreSQL-backed applications and want to test the database itself", "you want TAP output compatible with existing test harnesses", "you need assertions for schema objects, functions, triggers, and result sets"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pgtap", "repo": "theory/pgtap", "role": "main", "score": 71}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:49.429480+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:31:45.041636+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b166de304aeb63c90c12de4dfca8d18f4b329101997ef1801aa96576e61e2b90", "fetched_at": "2026-08-28T04:03:49.429480+00:00", "kind": "readme", "missing": false, "url": "https://github.com/theory/pgtap"}, {"content_hash": "4b8f48b581dd64cc018b42aadbbc40478e56426a5480e2131671aab1bb7efbd5", "fetched_at": "2026-08-29T12:36:13.332839+00:00", "kind": "homepage", "missing": false, "url": "https://pgtap.org"}, {"content_hash": "3a725d278fd38f35225a2ca34a8c56de2919feef265b5bd72fc36f7c0264907f", "fetched_at": "2026-08-29T12:36:13.342367+00:00", "kind": "site_page", "missing": false, "url": "https://pgtap.org/documentation.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 18}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6365, "days_push": 10, "days_rel": 333, "gap_med": null, "n_releases_24m": 1}, "score": 71, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}