Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@case-contract-testing/case
Advanced tools
Case is a next-generation consumer-driven contract testing framework, building on many of the lessons from maintaining the excellent Pact contract testing framework. It is our belief that contract testing is the best way to get deployment confidence for your applications and services.
Full documentation coming soon
Case releases follow semantic versioning, with two additional restrictions:
Breaking changes will always be detailed in the changelog
WARNING: THE API IS UNSTABLE AND MAY CHANGE BETWEEN MINOR VERSIONS
Work in progress, use at your own risk.
The API is considered unstable because we'd like to ensure that it's ergonomic and intuitive for users. Feedback on the Case API / DSL and (especially) naming conventions very welcome.
Case is now available and should work for both client and server driven http/https contracts. However, the following caveats should be kept in mind:
printResults: false
.You can follow the detailled progress by reading the maintainer todo list. These caveats will be updated as progress is made.
npm install --save-dev @case-contract-testing/case
You may also need the peer dependencies:
npm install --save-dev jest@^29.4.3
TODO: Pull this section out and expand into detailled documentation
Case is intended to solve some of the pain points when using Pact - if you are not hitting those pain points, there is no need to switch to using Case (unless you want to or something).
Case has a very similar philosophy to Pact. You write your pacts as a contract, which is a series of examples.
Like Pact, Case requires a broker to operate. To maximise Pact compatibility, Case works with the Pact broker. We recommend either:
We plan for Case to always be compatible with both of these brokers.
For the gory details, you can see the implementation notebook / todo list here
FAQs
Next-generation contract testing suite
The npm package @case-contract-testing/case receives a total of 3 weekly downloads. As such, @case-contract-testing/case popularity was classified as not popular.
We found that @case-contract-testing/case demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.