substitutefor

Contribute to the catalog

Improve Spring Cloud Contract

Help someone find the right substitute. Share what you know, explain its limits, and show your sources.

Keep useful details and sources from the current draft as you make your changes.

Sign in or create an account ↗ to earn credit. You can also submit anonymously and save a private receipt. Contributions go to review before publication.

Your own projects are welcome, and an AI assistant can contribute on your behalf. Describe the project accurately and cite sources. You can submit immediately; no minimum karma or prior reviews are required.

1

Identify the subject

Which product or service are you writing about?

This entry can substitute forOptional

Choose the product this entry can replace. For example, when editing GIMP, choose Photoshop to describe GIMP as a substitute for Photoshop. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

0 of 200 substitute relationships.

Draft comparisons

These comparisons link to articles by their planned address. Edit them under Structured data.

  • pact-js — Legacy JVM contract verification
2

Write & cite

Help readers understand what it does and where it falls short.

Article sections and citations
Sources for the overview

Sources

Reuse throughout the article

Add each source once. Select it under the paragraphs it supports.

Source 1 · Spring Cloud Contract archived repository

Source 1

Source details

To remove this source, first uncheck its citations.

Source 2 · Spring Cloud Contract reference

Source 2

Source details

To remove this source, first uncheck its citations.

Source 3 · Spring announces Stubborn transition

Source 3

Source details

To remove this source, first uncheck its citations.

Source 4 · First Spring Cloud Contract application

Source 4

Source details

To remove this source, first uncheck its citations.

Source 5 · Generating stubs at runtime

Source 5

Source details

To remove this source, first uncheck its citations.

Source 6 · Migrating to Stubborn Contract

Source 6

Source details

To remove this source, first uncheck its citations.

Source 7 · Pact introduction

Source 7

Source details

To remove this source, first uncheck its citations.

Source 8 · Pact JS repository

Source 8

Source details

To remove this source, first uncheck its citations.

Article sections

Explain uses, limitations, or compatibility. Give each paragraph the sources that support it.

1 · Contracts and generated verification

Section 1

Sources for paragraph 1
2 · Consumer fixtures and incomplete contracts

Section 2

Sources for paragraph 1
3 · End of Spring maintenance

Section 3

Sources for paragraph 1
4 · Moving to the continuation

Section 4

Linked to stubborn-contract. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
5 · Substitution scope

Section 5

Linked to pact-js. Keep surrounding spaces so the text reads naturally.

Sources for paragraph 1
Structured data Advanced

For agents and detailed edits, including links within paragraphs. Follow the article schema, or use the API. Applying JSON replaces the body, references, article address, and draft comparisons shown here.

Include up to 200 draft comparisons, preserving the existing sources and relationships when adding more.

3

Add useful details Optional

Add what you know. You can submit without filling these in.

Capabilities3

Describe a task this product can perform, its limits, and the evidence. Use “unknown” if the evidence does not show whether the task is supported; “unsupported” means the evidence shows it cannot do the task.

Help readers find related options Optional

Have a useful detail to add? Choose a question, give a short answer, and reuse an article source. Skip this section if you prefer.

Which article sources support this answer?
Only saved answers are included. A blank section is fine.
Screenshots Optional

Show the website or a useful part of its interface. Add up to three still PNG, JPEG or WebP images, each up to 5 MiB. Screenshot guidelines ↗

Crop to the relevant screen. Remove personal information, credentials, account balances and private messages. Images keep their stated rights; they are not automatically CC0.

Sign in to upload screenshots. You can submit the article without them.

License, other names & status
Sources for the license or business model
4

Check & submit

Give reviewers a clear summary and a source they can check.

Preview your article

Spring Cloud Contract

Archived Spring contract-testing project with generated provider tests and consumer stubs.

Overview

Spring Cloud Contract is the archived Spring project for consumer- and producer-driven contract testing of HTTP and message interactions. Its definitions generate verification tests and reusable stubs; Spring transferred maintenance and ownership to the Stubborn project in July 2026.[1][2][3]

Contracts and generated verification

The documented workflow adds Contract Verifier and its build plugin, then defines expected HTTP or messaging interactions in contract files such as Groovy DSL or YAML. The build generates tests that check whether the application satisfies those definitions. Generated tests need a suitable base class to configure controllers, messaging infrastructure or other test context; writing the contract does not by itself supply a working application implementation.[4]

Consumer fixtures and incomplete contracts

Generated stubs allow consumers to work against defined behavior. The runtime-stub documentation distinguishes normal producer verification from contracts marked in progress: those can produce stubs without generating the corresponding producer tests. Consumers can also request fresh stub generation from contract definitions. Such a fixture can unblock development, but its availability should not be treated as evidence that the producer has already passed verification.[5]

End of Spring maintenance

Spring announced the ownership and support transfer on July 6, 2026, stating that the project would leave future Spring Cloud release trains and stop receiving Spring maintenance in existing active trains. The repository was subsequently archived. Its Apache-2.0 code and documentation remain available, but the Spring-branded project is a legacy dependency rather than an actively maintained new adoption target.[1][3]

Moving to the continuation

The official continuation is Stubborn Contract. Its migration documentation preserves YAML contract structure and supports existing generated WireMock stubs, while changing build coordinates, Java package names and configuration prefixes. Groovy and Kotlin contracts need import updates, and JUnit 4 rule usage must move to JUnit 5 extensions. This is a documented migration path, not a claim that every build works unchanged merely by replacing a version number.[6]

Substitution scope

For an existing JVM test suite, Spring Cloud Contract can fulfill some of the interface-verification tasks addressed by Pact JS, using defined contracts and generated tests instead of JavaScript consumer tests. The overlap does not imply interchangeable artifacts or equal test coverage. Given the maintenance transfer, continued use should be assessed as legacy retention; the successor is the more direct migration route for established Spring Cloud Contract assets.[3][4][7][8]

References

  1. Spring Cloud Contract archived repository

    Archive notice, maintenance transfer and Apache-2.0

    vendor · retrieved 2026-10-07
  2. Spring Cloud Contract reference

    Consumer/provider contract scope

    vendor · retrieved 2026-10-07
  3. Spring announces Stubborn transition

    End of Spring maintenance and release-train removal

    vendor · retrieved 2026-10-07
  4. First Spring Cloud Contract application

    DSL definitions, generated tests and required base class

    vendor · retrieved 2026-10-07
  5. Generating stubs at runtime

    In-progress contracts and unverified generated stubs

    vendor · retrieved 2026-10-07
  6. Migrating to Stubborn Contract

    Coordinates, DSL imports, JUnit and legacy-property/stub compatibility

    vendor · retrieved 2026-10-07
  7. Pact introduction

    Consumer-driven contracts by example

    vendor · retrieved 2026-10-07
  8. Pact JS repository

    JavaScript contract testing and framework integration

    vendor · retrieved 2026-10-07

Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.

Contribution type

Agree to CC0 above to submit your contribution.