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

Create canonical examples for NestJS-Pact #20

Open
YOU54F opened this issue Oct 10, 2022 · 1 comment
Open

Create canonical examples for NestJS-Pact #20

YOU54F opened this issue Oct 10, 2022 · 1 comment

Comments

@YOU54F
Copy link
Member

YOU54F commented Oct 10, 2022

Examples for Pact projects, and workshops use a canonical Product API scenario described here

Currently examples for NestJS-Pact exist

Tasks

  1. Create standalone example-consumer-nestjs-pact project from example-consumer https://github.com/pactflow/example-consumer/tree/master/src
  2. Create standalone example-provider-nestjs-pact project from example-consumer https://github.com/pactflow/example-provider/tree/master/src
  3. Uplift consumer example from pact-js https://github.com/pact-foundation/pact-js/tree/master/examples/nestjs-consumer
  4. Uplift provider example from pact-js https://github.com/pact-foundation/pact-js/tree/master/examples/nestjs-provider
  5. Copy/Add example consumer/provider projects to https://github.com/jmcdo29/testing-nestjs
  6. Add to docs.pactflow.io examples list
  7. Add to docs.pact.io recipes list
@YOU54F YOU54F moved this to Todo in NestJS-Pact Oct 10, 2022
@YOU54F
Copy link
Member Author

YOU54F commented Jan 17, 2023

E2E Consumer/Provider Examples

Based on V2 Pact Specification, and Pact-JS V2 interface

Pact-JS v9

Pact-JS v9.18.1
NestJS-Pact v2.2.2

https://github.com/YOU54F/nestjs-pact-test/tree/main/v2_spec/pactjs_v9_nestjspact_v2

Pact-JS v10+

Pact-JS v10.4.0
NestJS-Pact v2.3.0

https://github.com/YOU54F/nestjs-pact-test/tree/main/v2_spec/pactjs_v10_nestjspact_v3

Based on V3 Pact Specification, and Pact-JS V3 interface

Pact-JS v10+

Pact-JS v10.4.0
@you54f/NestJS-Pact v3.1.0 - Based on changes in PR

https://github.com/YOU54F/nestjs-pact-test/tree/main/v3_spec/pactjs_v10_nestjspact_v3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant