Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support extended verification results #778

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YOU54F
Copy link
Member

@YOU54F YOU54F commented Feb 12, 2025

Optionally the body can contain details about the Pact implementation which performed the verification, and test results, which support arbitrary json

{
  "providerApplicationVersion": "1",
  "success": true,
  "buildUrl": "http://build-url",
  "testResults": [],
  "verifiedBy": {
    "implementation": "Pact-Rust",
    "version": "1.0.0",
    "clientLanguage": {
      "testFramework": "TEST",
      "name": "TESTER",
      "version": "1.2.3"
    }
  }
}

Relates to pact-foundation/pact-go#499

Question -

Would it be better to support arbitrary fields in clientLanguage, similar to `testResults, to better support extensibility.

Screenshot 2025-02-12 at 15 58 01

@YOU54F YOU54F force-pushed the feat/support_extended_verification_results branch from 6be0735 to 1a5fdef Compare February 12, 2025 16:02
Optionally the body can contain details about the Pact implementation which performed the verification, and test results, which support arbitrary json

    {
      "providerApplicationVersion": "1",
      "success": true,
      "buildUrl": "http://build-url",
      "testResults": [],
      "verifiedBy": {
        "implementation": "Pact-Rust",
        "version": "1.0.0",
        "clientLanguage": {
          "testFramework": "TEST",
          "name": "TESTER",
          "version": "1.2.3"
        }
      }
    }
@YOU54F YOU54F force-pushed the feat/support_extended_verification_results branch from 1a5fdef to e745d3e Compare February 13, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants