Skip to content

Conversation

@robg-test
Copy link
Collaborator

@robg-test robg-test commented Jan 24, 2023

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

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@harrystead2
Copy link
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 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