Run automatic integration tests against each deployment to a non-production environment

  • Add a configuration section to your coherence.yml that looks like:
integration_test:
  type: integration_test
  command: ["cypress", "run", "--record"]
  image: "cypress/included:9.4.1"
  • Modify the command and image to match the requirements defined by your own test scripts.
  • COHERENCE_BASE_URL will be set as an environment variable that describes the url of the Coherence environment you are running in. Your tests can make requests to this url from your tests.
  • Any environment configuration variables that your tests need can be set in the Coherence dashboard with no service attached, and will be injected into the integration_test step in your builds

Did this page help you?