Skip to content

gammabowl/pactdemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
tasks.withType(JavaCompile) {
    options.compilerArgs << "-Xlint:deprecation"
}

Reference Links