Skip to content
#

contract-testing

Here are 136 public repositories matching this topic...

bethesque
bethesque commented Jul 9, 2021

Future documentation for this feature:

To delete pacts for a specific tag.

  • Open the Pact Broker and click "show latest tags"

  • Scroll to the row for the consumer/tag that you wish to delete.

  • Click on the "..." icon for that row

  • Select "Delete pacts for tag <tag>"

  • You will see a prompt with the text

    This will delete the pacts for provider <provider> and all ver
    
Blackclaws
Blackclaws commented May 18, 2021

So trying this out I've found that Pact.Net starts an additional service for both creation and verification of pacts.

Is there any specific reason other than that it hasn't been done because no one had time that this couldn't be done in memory with TestServer instead? That would completely eliminate the need for any sort of port allocation and the creation of additional actual live servers duri

guiyomh
guiyomh commented Jun 2, 2021

Hi all,

I have created a test to verify my provider. Something like that:

<?php

declare(strict_types=1);

namespace App\Tests\Contracts;

use GuzzleHttp\Psr7\Uri;
use PHPUnit\Framework\TestCase;
use PhpPact\Standalone\ProviderVerifier\Verifier;
use PhpPact\Standalone\ProviderVerifier\Model\VerifierConfig;

class ProviderTest extends TestCase
{
    public function testPac
joelrosario
joelrosario commented Sep 15, 2020

Description
When the file passed to the stub does not exist, the stub neither displays an error nor exits.

Steps to reproduce

  1. Run the command qontract stub nonexistent.qontract
  2. Qontract runs, but prints nothing, nor does it exit.

Expected behavior
If any of the files or directories provided do not exist, Qontract should highlight this, but it should not die if there is

PactSwift
mefellows
mefellows commented Oct 4, 2020

Problem Statement

Provide resources to help new users become proficient in Pact and PactSwift

💬 Task Description

Create an end-to-end workshop based on the canonical pact one (https://github.com/pact-foundation/pact-workshop-js).

👩‍🔧 Technical Design Notes

Suggest using the JS provider as the "backend" for the workshop, to both reduce the effort required in this workshop and

Improve this page

Add a description, image, and links to the contract-testing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the contract-testing topic, visit your repo's landing page and select "manage topics."

Learn more