Spring
为何选择 Spring
概述 微服务 响应式 事件驱动 云 Web 应用 无服务器 批处理
学习
概述 快速入门 指南 博客
项目
概述 Spring Boot Spring Framework Spring Cloud Spring Cloud Data Flow Spring Data Spring Integration Spring Batch Spring Security 查看所有项目
  • 开发工具
  • Spring Tools 4 Spring Initializr
    学院
    课程 获取认证
    解决方案
    概述 Spring Runtime Spring 咨询 Spring 团队学院 安全咨询
    社区
    概述 活动 团队
    spring-cloud-contract 4.2.1
      • Spring Cloud Contract 参考文档
      • 法律声明
      • 入门
        • Spring Cloud Contract 简介
        • 三秒快速浏览
        • 开发你的第一个基于 Spring Cloud Contract 的应用
        • 消费者驱动合同 (CDC) 逐步指南(合同位于生产者端)
        • 下一步
      • 使用 Spring Cloud Contract
        • 在 Nexus 或 Artifactory 中使用 Stubs 进行 Provider 合同测试
        • 在 Git 中使用 Stubs 进行 Provider 合同测试
        • 消费者驱动合同(合同位于生产者端)
        • 消费者驱动合同(合同位于外部仓库)
        • 消费者驱动合同(合同位于生产者端,并推送到 Git)
        • 在 Artifactory 中使用 Stubs 为非 Spring 应用进行 Provider 合同测试
        • 在非 JVM 环境下使用 Artifactory 中的 Stubs 进行 Provider 合同测试
        • 在 Nexus 或 Artifactory 中使用 REST Docs 和 Stubs 进行 Provider 合同测试
      • Spring Cloud Contract 特性
        • 合同 DSL
          • 通用顶级元素
          • 动态属性
        • Spring Cloud Contract 集成
          • JAX-RS
          • 结合 WebTestClient 使用 WebFlux
          • 结合 Explicit 模式使用 WebFlux
          • 自定义模式
          • 使用上下文路径
          • 使用 REST Docs
          • GraphQL
          • GRPC
        • 消息传递
        • Spring Cloud Contract Stub Runner
          • 快照版本
          • 将 Stubs 发布为 JAR
          • Stub Runner Core
          • Stub Runner JUnit Rule 和 Stub Runner JUnit5 Extension
          • Stub Runner Spring Cloud
          • 使用 Stub Runner Boot 应用
          • 消费者驱动合同:每个消费者的 Stubs
          • 从指定位置获取 Stubs 或合同定义
          • 运行时生成 Stubs
          • 没有 Stubs 时失败
          • 通用属性
        • Spring Cloud Contract WireMock
      • 构建工具
        • Docker 项目
        • Gradle 项目
        • Maven 项目
      • 操作指南
        • 为何使用 Spring Cloud Contract?
        • 如何使用 Groovy 以外的语言编写合同?
        • 如何为合同提供动态值?
        • 如何进行 Stubs 版本控制?
        • 如何使用公共仓库来存放合同,而不是将其与生产者一起存放?
        • 如何使用 Git 作为合同和 Stubs 的存储?
        • 如何调试生成测试客户端发送的请求/响应?
        • 如何调试 WireMock 发送的映射、请求或响应?
        • 如何查看 HTTP 服务器 Stub 中注册了什么?
        • 如何从文件引用文本?
        • 如何从 Spring Cloud Contract 合同生成 YAML 或 X 文件?
        • 如何处理传递依赖?
        • 如何从合同生成 Spring REST Docs 片段?
        • 如何从指定位置使用 Stubs
        • 如何在运行时生成 Stubs
        • 如果不存在合同或 Stubs,如何让构建通过?
        • 如何标记合同正在进行中?
      • Spring Cloud Contract 定制
        • DSL 定制
        • WireMock 定制
        • 使用可插拔架构
      • 通用应用属性
        • 如何构建 Spring Cloud Contract
        • 配置属性
        • YML Schema
    编辑此页面 GitHub 项目 Stack Overflow
    • spring-cloud-contract
    • 使用 Spring Cloud Contract
    • 在 Nexus 或 Artifactory 中使用 Stubs 进行 Provider 合同测试

    在 Nexus 或 Artifactory 中使用 Stubs 进行 Provider 合同测试

    你可以查看 开发你的第一个基于 Spring Cloud Contract 的应用 链接,了解在 Nexus 或 Artifactory 中使用 stubs 进行 provider 合同测试的流程。

    使用 Spring Cloud Contract 在 Git 中使用 Stubs 进行 Provider 合同测试
    • spring-cloud-contract
      • 4.3.0-SNAPSHOT
      • 4.3.0-RC1
      • 4.2.1当前
      • 4.1.6-SNAPSHOT
      • 4.1.5
    • 相关 Spring 文档
      • Spring Boot
      • Spring Framework
      • Spring Cloud
        • Spring Cloud Build
        • Spring Cloud Bus
        • Spring Cloud Circuit Breaker
        • Spring Cloud Commons
        • Spring Cloud Config
        • Spring Cloud Consul
        • Spring Cloud Contract
        • Spring Cloud Function
        • Spring Cloud Gateway
        • Spring Cloud Kubernetes
        • Spring Cloud Netflix
        • Spring Cloud OpenFeign
        • Spring Cloud Stream
        • Spring Cloud Task
        • Spring Cloud Vault
        • Spring Cloud Zookeeper
      • Spring Data
        • Spring Data Cassandra
        • Spring Data Commons
        • Spring Data Couchbase
        • Spring Data Elasticsearch
        • Spring Data JPA
        • Spring Data KeyValue
        • Spring Data LDAP
        • Spring Data MongoDB
        • Spring Data Neo4j
        • Spring Data Redis
        • Spring Data JDBC 和 R2DBC
        • Spring Data REST
      • Spring Integration
      • Spring Batch
      • Spring Security
        • Spring Authorization Server
        • Spring LDAP
        • Spring Security Kerberos
        • Spring Session
        • Spring Vault
      • Spring AI
      • Spring AMQP
      • Spring CLI
      • Spring GraphQL
      • Spring for Apache Kafka
      • Spring Modulith
      • Spring for Apache Pulsar
      • Spring Shell
    • 所有文档...
    Spring

    Copyright © 2005 -Broadcom. 版权所有。术语“Broadcom”指 Broadcom Inc. 和/或其子公司。
    使用条款 • 隐私 • 商标指南 • 感谢 • 你的加州隐私权 • Cookie 设置

    Apache®、Apache Tomcat®、Apache Kafka®、Apache Cassandra™ 和 Apache Geode™ 是 Apache Software Foundation 在美国和/或其他国家的商标或注册商标。Java™、Java™ SE、Java™ EE 和 OpenJDK™ 是 Oracle 和/或其关联公司的商标。Kubernetes® 是 Linux Foundation 在美国和其他国家的注册商标。Linux® 是 Linus Torvalds 在美国和其他国家的注册商标。Windows® 和 Microsoft® Azure 是 Microsoft Corporation 的注册商标。“AWS”和“Amazon Web Services”是 Amazon.com Inc. 或其关联公司的商标或注册商标。所有其他商标和版权均为其各自所有者所有,此处仅用于信息目的。其他名称可能是其各自所有者的商标。

    在所有 Spring 文档中搜索