Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Public Hub integration tests as separate job #668

Open
pkosiec opened this issue Mar 15, 2022 · 0 comments
Open

Implement Public Hub integration tests as separate job #668

pkosiec opened this issue Mar 15, 2022 · 0 comments
Labels
area/hub Relates to Hub enhancement New feature or request

Comments

@pkosiec
Copy link
Member

pkosiec commented Mar 15, 2022

Description

  • Prepare test setup

    • Neo4j + Hub JS + populator + run Go tests
    • We can use Docker compose
  • Prepare list of tests for edge cases we want to test

  • Modify GitHub Actions pipeline and run these tests in parallel to our full E2E integration tests

Base on #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.

@pkosiec pkosiec added enhancement New feature or request area/hub Relates to Hub labels Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hub Relates to Hub enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant