GithubHelp home page GithubHelp logo

jshjohnson / workshop-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rgparkins/workshop-service

1.0 1.0 1.0 15 KB

A service for a workshop I am doing for the dept

Dockerfile 9.02% Shell 23.30% JavaScript 67.68%

workshop-service's Introduction

Consumer contract testing workshop

Welcome to consumer contract testing, you will have all the necessary information in this readme to help guide you through the workshop. This repo contains a simple customer service that has no contract tests from its consumers.

Getting Started

Fork this repository

Prerequisites

  1. You will need to have docker version 18.09.2, build 6247962 or greater installed
  2. You will need to be able to pull from an AWS ECR for this workshop.

Steps

  1. Create a simple boilerplate app (in any language that can be run in docker). You can get a quick example here
  2. Take a look at the swagger spec in this repo and create a stub against this.
  3. Create the files required by the standards to run consumer contrct tests against your stub.
  4. PR your features, fixtures, Dockerfile and test.sh into your consumer named directory on the service.
  5. Get your feature tests to pass

You can see a case study here with step by step instructions.

If you are having trouble pulling the ECR from AWS you can use this

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.