Giter Site home page Giter Site logo

pact.io's Introduction

README

pact.io home page

Netlify Status

Where are the docs?

  • Formal documentation is located at http://leap.mediumra.re/documentation/index.html - accessible from the Documentation link on most demo pages.
  • You can find lists of the styled components at pages/components-leap.html and pages/components-bootstrap.html

Getting Set Up (optional)

Setup instructions are located in the docs mentioned above.

Node 14 is required Python 2 is required due to an old version of node-sass.

The short version:

  • npm install
  • $(npm bin)/gulp

MacOS

brew install pyenv
eval "$(pyenv init -)" # set in your profile (.zshrc / .bashrc etc)
pyenv install 2.7.18
pyenv shell 2.7.18
... npm commands above

pact.io's People

Contributors

178inaba avatar dependabot[bot] avatar ericjwhuang avatar jo-laing avatar loveboat avatar mboudreau avatar mefellows avatar neilcampbell avatar you54f avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pact.io's Issues

protobuf support

https://docs.pact.io/faq#what-is-pact-good-for does mentions Protobuf and talks about the questionable need for contract testing when a firm contract exists (protobuf definition) and the compatibility is ensured by the framework. I am wondering if there are any plans for Pact. Personally I believe that the nature of Protobuf (read: gRPC) solves only part of the problem - the backward/forward compatibility of the parser. I believe this is not enough. Consider this: the API goes through incremental changes and the implementations (on both side) may end up being wrong with their assumptions - while the contract is still followed! In Protobuf v3 (again, talking about gRPC) everything is optional. So, introducing a new field unknown to either party is transparent, yes, they won't touch what they do not know. However, fields will get obsolete and the consumer may decide no longer use field A because there is a field A1 that seems to be more appropriate. And the server internally assumes that both values A and A1 are mandatory. Or the server may decide that if the client sends A1, then it would be reading the response field B1 and won't look at B. In other words, protobuf "schema" is not strong and expressive enough to carry the contract enforcement deep enough (which is good, in fact) - so I do belive this scenario can and should be covered by contract tests.

I am not aware of any existing contract testing framework that supports gPRC. I am thinking about using Pact but I do not see a way other than introducing transparent transcoding between gRPC/HTTP2 and JSON/HTTP so Pact would operate in a traditional environment.

Unclear documentation.

Seeing a small issue in the first sentence of getting started specifically "you will need to and install the relevant". I'd correct it but I'm new to the framework and not sure how it should read.

May want to give the rest of the document a read through as well.

Add ability to customize contract filename

The contract JSON file that's generated from the consumer pact test is named in the following format by default: "{consumer_name}-{provider_name}". It would be great to have the ability to customize the name of this file. For example, I'd like to follow the following format for the project I'm working on: "{version}-{platform}-{method}" or some other format that isn't necessarily tied to the name that I specify for the consumer and provider in the contract test.

Rename documentation branch

The documentation branch is currently called test. A more helpful name would be documentation or gitbook, or similar.

[Question] About the last several questions of FAQ section

Hi there,

I am translating the pact documents to Chinese version with @wldandan. But in the FAQ section, about the last several questions from here, I can not find the source text either in gitbook branch or master branch of this repo. The repo only contains those questions before this question I mentioned. Could you help find out where are the sources of the docs.pact.io site ? Thanks.

Chinese version of docs.pact.io announced to release!

Hi all,

We're Cloud Native User Group from China, members consist of @tongzh, @wldandan, @iambowen and @lzufengye. We're glad to announce that the first Chinese translated version of docs.pact.io is released at www.pact.net.cn ! All the contents of this site adhere strictly to the original documents published.
And the next thing to do may be to interchange the links to each other on both the docs.pact.io and www.pact.net.cn. What kind of formats do you prefer to do that? Please let me know if there're suggestions. Thanks! :)

Travis build fails on documentation branch

When the documentation branch (currently called test) builds on travis, it fails because there's no Rake file.

It would be better if the build for the documentation branch provided information about whether the documentation built successfully.

Diagram CI/CD infrastructure

How best to setup the CI/CD infrastructure is a common question. We could more easily answer these with a diagram or two in the documentation.

About the interchanged link

Hi @mefellows ,

As the Chinese version of the pact documents has been published, we have put a link button to the English version of documents site on the top of Chinese site. Can you also please put a link button to the Chinese site on the top of English site as well ? That'll be fine for Chinese developers to find the entry of Chinese site.
A recommended way to implement that is to add a toolbar-button plugin to gitbook, which means you can put the following config into book.json file:

{
    "plugins": [
        "toolbar-button"
    ],
    "pluginsConfig": {
        "toolbar-button": {
            "icon": "fa-globe",
            "label": "",
            "url": "https://www.pact.net.cn"
        }
    }
}

Thanks in advance! If there're any other ideas of how to do that, please let me know.

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.