capactio / capact

Simple way to manage applications and infrastructure.
https://capact.io
Apache License 2.0
80 stars 19 forks source link

Implement Public Hub integration tests as separate job #668

Open pkosiec opened 2 years ago

pkosiec commented 2 years ago

Description

Base on https://github.com/capactio/capact/issues/658

Reason

Currently, we have a very basic happy path tests for our Public and Local Hub: https://github.com/capactio/capact/blob/955dd17c33e37db881257194d77c6fb4751b5e50/test/e2e/hub_test.go

Unfortunately they don't test many edge cases (e.g. for Local Hub, deleting locked TypeInstance with the same ownerID). If we want to add more test cases, it would be very slow. That's why we need to split them to dedicated jobs, running without Kubernetes and with minimal set of Capact components, and then we can add another test cases.