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

[NEW TEST] - (Contract Testing) - Incorporate NestJS Consumer Driven Contract testing with nestjs-pact #1676

Open
1 task done
YOU54F opened this issue Apr 27, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@YOU54F
Copy link

YOU54F commented Apr 27, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Feature Test To Be Requested

Hey,

Great repo <3

The member of the Pact OSS community recently developed with a NestJS Pact adapter to allow for easy consumer driven contract testing with Pact in a NestJS project.

You can see the repo here https://github.com/omermorad/nestjs-pact

and find our how Pact and Consumer Driven Testing works here

I would be happy to work on the examples.

cc: @omermorad

@YOU54F YOU54F added the enhancement New feature or request label Apr 27, 2022
@YOU54F YOU54F changed the title [Contract Testing] - Incorporate NestJS Consumer Driven Contract testing with nestjs-pact [NEW TEST] - (Contract Testing) - Incorporate NestJS Consumer Driven Contract testing with nestjs-pact Apr 27, 2022
@jmcdo29
Copy link
Owner

jmcdo29 commented Apr 27, 2022

I'd love to see an example and PR to the repo for this! I recently started using pactum instead of supertest for my personal tests and have absolutely loved it. I'd be excited to see what an example for Pact looks like.

@jmcdo29 jmcdo29 removed their assignment Apr 27, 2022
@YOU54F
Copy link
Author

YOU54F commented Apr 27, 2022

Hey @jmcdo29

Awesome! Yeah I have seen pactum, and love what they are doing, great to see the open Pact specification being used by other parties <3

Couple of links to our nestjs examples from our pact-js implementation

Will look to get an example in but juggling many things at the moment, so won't be immediate, but I've got this to track.

If anyone wants to help out, the examples above and the readme https://github.com/omermorad/nestjs-pact should possibly provide enough of a cookie trail.

Excited to get involved buddy!

@omermorad
Copy link

Hi @jmcdo29 @YOU54F,

Happy to see that! Did you see that I've added nestjs-pact to the list here in the repo?

@jmcdo29
Copy link
Owner

jmcdo29 commented Apr 27, 2022

Hi @jmcdo29 @YOU54F,

Happy to see that! Did you see that I've added nestjs-pact to the list here in the repo?

I'm sorry @omermorad, where do you add it?

@omermorad
Copy link

@jmcdo29 sorry, I thought we are talking about awesome-nestjs repo, and I meant that nestjs-pact is under the list of test utils there

@YOU54F
Copy link
Author

YOU54F commented Apr 28, 2022

nice, I hadn't seen that list. Added a badge 😎 nestjs/awesome-nestjs#214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants