Skip to content

Update EE contract tests to follow new convention

Richard Chong requested to merge g386206-update-ee-contract-tests into master

What does this MR do and why?

The conventions were updated as part of #380899 (closed) so we need to update the ee tests as well. The following changes will be made to the ee test.

  1. Updates all consumer name to use plural (for example, MergeRequests#show instead of MergeRequest#show)
  2. Updates the subfolders to use the plural form (for example, specs/project/pipelines instead of specs/project/pipeline)
  3. Updates the contract location to match the new plural subfolder naming scheme.
  4. Updates the pact_helpers to match the provider name.
  5. Updates the provider names to keep capitalizations consistent.
  6. Use script that determines the Pact Broker url and the local contract path.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Richard Chong

Merge request reports

Loading