Skip to content

vighindia/tau-pact-nodejs-course-1.0.3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Quality

license

Known Vulnerabilities

PactJS project for the Test Automation University course

A simple Nodejs + Jest project configuring contract tests with PactJS

Running via CLI

  • Open your terminal on your project's folder

  • Install Node packages: npm install

  • Run the consumer contract tests (Generate the contracts): npm run test:consumer

  • Run the provider contract tests (Verify the contracts): npm run test:provider

  • Run the provider server http://localhost:8081 (Client API/Service): npm run provider

  • Run the consumer server http://localhost:8080 (Client API/Service): npm run consumer

  • Publish the contracts: npm run publish:contract

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published