Suggest a tool

Pact Net

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What Pact Net is

Pact Net is the .NET implementation of Pact for consumer-driven contract testing. Consumer tests use a V4 pact builder to define HTTP interactions and run them against a mock server, shown in the README with xUnit. The PactVerifier class checks a provider against pact files and supports a provider state URL. Messaging pacts are also supported. Version 5.x supports Pact specification versions 2, 3 and 4. The core logic runs in a shared native Rust library. Provider APIs must therefore listen on a real TCP socket rather than an in-memory test server. Supported platforms are x64 Windows, glibc Linux on x64 and ARM64, and macOS. Packages are published on NuGet.

Written from the project's README, read .

Category
Contract testing
License
MIT
Language
C#
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars9311
Forks2361
Open issues and PRs401
Contributors591
Commits in the last 90 days21
Last commit2026-09-161
Last release5.0.1, 2025-03-221
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed contract testing tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from Pact Net's, with its source.

Questions

Is Pact Net open source?

Yes. Pact Net is released under MIT, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is Pact Net maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-16, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does Pact Net have?

931 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is Pact Net written in?

The repository's primary language, as reported by the GitHub API, is C#.

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read