Comments (13)
It is probably a good idea to release a 1.0 of jest pact soon
from jest-pact.
from jest-pact.
Update: I've published a draft of a V3 compatible jest-pact. You can pick it up at:
npm install --save-dev [email protected]
Unfortunately, the interface had to change a bit. You can see a usage example in the readme at:
https://github.com/pact-foundation/jest-pact/tree/pact-js-v3#pact-js-v3
I'm not certain about the interface yet, feedback very welcome.
from jest-pact.
mainlined into master for jest-pact 0.10.1
+ supporting pact-js 10.0.2
+
from jest-pact.
Thanks for raising this! This has been asked before (although not tracked here) on pact-foundation/pact-js#483 .
At the time, my thinking was we'd add it when the V3 branch is ready for production use, but I feel like more and more people are using V3 now.
I think it might be better to support it, and instead chase down the remaining issues that prevent V3 being recommended for production.
from jest-pact.
@brendan-donegan Did you try out the V3 pactWith
? How did it go for you?
from jest-pact.
We are working with the 0.9.0-beta.v3 right now and it works very well in all of our contract cases. Thank you for suporting the V3 Specification. Do you think there will be a release with the v3 specification soon?
We had an issue after the release of 9.0.0 two days ago: While using the "^0.9.0-beta.v3" syntax, the package manager fetched the 9.0.0 instead of the current V3 beta. So we had to use the fixed version 0.9.0-beta.v3.
from jest-pact.
Are there any Updates on the V3 merge?
from jest-pact.
We have the provider since nearly done, but there's still work to do on the consumer side. You can follow along with the project here https://github.com/pact-foundation/pact-js/projects/3, or join us on slack if you would like to help out
from jest-pact.
(I think Matt and I are working on it in pretty much all the spare time we have available for software dev)
from jest-pact.
Great stuff here @TimothyJones & @mefellows
How have people been finding the new interface?
from jest-pact.
There are still some minor teething issues/bugs to sort out in the main Pact JS project, and we currently don't have message support (see https://github.com/pact-foundation/pact-js/projects/3).
The JS core now has all of the requisite APIs for Pact JS, so it's just a public API implementation now mainly to go.
from jest-pact.
Will close this now, feedback can be provided in this issue
Thanks for everyones help
from jest-pact.
Related Issues (20)
- Pact tests fail with timeout on pact server setup HOT 2
- Add cors flag in PactOptions HOT 5
- Log file does not contain data for all tests HOT 5
- Pact Verification Failed for multipart/form-data request HOT 2
- Support newer jest versions HOT 1
- future proofing `jest-pact` / `jasmine is undefined` HOT 2
- Race condition HOT 3
- Typescript Compiler failing with error TS2307 HOT 2
- jest-pact depends on Jasmine HOT 3
- Readme example - incorrect method name HOT 2
- Jest 27 support HOT 2
- "jest-pact": "0.9.0-beta.v3" not compatible "@pact-foundation/pact": "10.0.0-beta.45", HOT 3
- Error occurred in mock service: JSON::ParserError - 757: unexpected token at '"[{}]"' HOT 3
- Logging in jest-pact V3 Beta HOT 2
- move to pact-foundation org/scope HOT 6
- ci: move to GH actions
- pact-js 10.0.0 not compatible with jest-pact 0.9.0-beta.v3 HOT 2
- V3 DSL Feedback HOT 6
- Jest 29 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jest-pact.