Skip to content

spike: consumer driven contract testing via Pact #18

@boonious

Description

@boonious

Hui depends heavily on mock HTTP servers in testing. It also uses prebaked responses to a wide range Solr API requests. Pact contract testing can be replied upon to ensure that the test mocks are faithful and resilient to future Solr API changes.

Tasks

  • spike/investigate ways of generating Pact contracts in Bypass expectations
  • (if) submit PR for Bypass DSL to have options in Pact contracts generation
  • implement Pact (Solr) provider verification via mix task and Docker instances
  • update all unit/integration tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions