Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 873 Bytes

File metadata and controls

42 lines (26 loc) · 873 Bytes

Configure and Run a Local Test Setup

Context

This tutorial shows how to set up and run local e2e tests on macOS.

Prerequisites

Install the following tooling in the versions defined in versions.yaml of lifecycle-manager:

Procedure

Follow the steps using scripts from the project root.

  1. Create a local registry.

    ./scripts/re-create-test-registry.sh
  2. Build modulectl.

    ./scripts/build-modulectl.sh
  3. Run the create command tests.

    💡 Re-running the create command requires to re-create the local registry.

    ./scripts/run-e2e-test.sh --cmd=create
  4. Run the scaffold command tests.

    ./scripts/run-e2e-test.sh --cmd=scaffold