tvv-lippu-ja-maksujarjestelma-oy / waltti-apc

The APC system for Waltti
European Union Public License 1.2
5 stars 1 forks source link

E2E testing framework #302

Closed jahpola closed 1 year ago

jahpola commented 1 year ago
  1. How to test?
  2. How to integrate testing into CI/CD?
jahpola commented 1 year ago

An external service that sends and reads.

haphut commented 1 year ago
haphut commented 1 year ago

Alternative:

jahpola commented 1 year ago
  1. Stopping Kubernetes service is rather easy just scale down to 0.
  2. Emptying pulsar topics is the harder part, would most likely need pulsarctl/pulsaradmin cli tools to wipe them clean.
  3. Overriding dev -> another kustomize overlay, might be easier to create "testing" namespace and deploy them all into into (feature branch testing)
jahpola commented 1 year ago

I see two choices:

  1. Keep everything as is then monitor the application(s) via GCP monitoring tools
  2. Create our own "framework" for testing the thing. Could be also "faked" via testcontainer mqtt+pulsar containers. Problem.... the majority of testcontainer mqtt+pulsar is written in Java.