Skip to content

POC - Consumer Testing with Cypress-Pact - #95

Open
robg-test wants to merge 3 commits into
developfrom
BENCH-Contract-POC
Open

POC - Consumer Testing with Cypress-Pact#95
robg-test wants to merge 3 commits into
developfrom
BENCH-Contract-POC

Conversation

@robg-test

@robg-testrobg-test commented Jan 24, 2023

Copy link
Copy Markdown
Collaborator

This PR uses the Cypress-Pact plugin to create a contract that can be used for a verification test

See: answerdigital/AnswerKing-CS#76

The goal of this PR is to define a Contract Testing milestone for the Test presence on the AnswerKing bench.

Work to follow on from this

  • Upload the Contract as part of CI to a S3 Bucket, so that verifiers can find these files.
  • Automate a Can-I-Deploy process that will invoke the Verifier Tests with the latest deployed code and the provided contract (Git SHA possibly)

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed! Quality Gate passed

BugA0 Bugs
VulnerabilityA0 Vulnerabilities
Security HotspotA0 Security Hotspots
Code SmellA0 Code Smells

No Coverage information No Coverage information
0.0%0.0% Duplication

@harrystead2

Copy link
Copy Markdown
Contributor

@robg-answer

  • Run - npm run prettier to pass CI.
  • We've changed the fake data so may need to adjust the example.json, so re-tests to make sure
  • Needs rebasing.

Sign up for freeto 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.

2 participants

@robg-test@harrystead2