capactio / capact

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

Implement Local Hub integration tests as separate job #658

Closed pkosiec closed 2 years ago

pkosiec commented 2 years ago

Description

Implement separate Hub integration tests:

This task is timebox for 3MD.

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.

mkuziemko commented 2 years ago

PR with creating the tests environment using docker-compose and moves tests from e2e was created: https://github.com/capactio/capact/pull/683.

Adding new test cases will be done in a new PR.