项目作者: gammabowl

项目描述 :
demo project using pact-jvm & swagger-request-validator
高级语言: Java
项目地址: git://github.com/gammabowl/pactdemo.git
创建时间: 2017-04-05T19:28:35Z
项目社区:https://github.com/gammabowl/pactdemo

开源协议:MIT License

下载


Build Status Codacy Badge

Consumer Driven Contract Testing - PACT.IO

  • Sample project using pact-jvm & swagger-request-validator libraries

How to run

  • cd pact-tests to run pact consumer and provider tests
  • cd pact-swagger to run swagger pact tests

Misc environment Issues

  • To avoid seeing “SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”
    Set one of the listed jars here - https://www.slf4j.org/codes.html#StaticLoggerBinder - in the CLASSPATH
  • To see the deprecation details if you see this message uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
    Add this block of code to build.gradle file.
    1. tasks.withType(JavaCompile) {
    2. options.compilerArgs << "-Xlint:deprecation"
    3. }