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

[TESTING] Setup Integration tests for flows #228

Open
lechnerc77 opened this issue Jan 23, 2025 · 0 comments
Open

[TESTING] Setup Integration tests for flows #228

lechnerc77 opened this issue Jan 23, 2025 · 0 comments
Labels
test setup Setup of tests
Milestone

Comments

@lechnerc77
Copy link
Member

Requirement

As a prerequisite for GA we must have integration tests in place to test the overall flows of the export.

Scenarios

We must test a matrix of scenarios namely two setups on the platform and two flows of the exporter

Setup on the platform

  • Variant 1: managed directory
  • Variant 2: subaccount with entitlements, service instance, subscriptions and including a Cloud Foundry organization and a Cloud Foundry space

Exporter flows

  • Variant 1: export via JSON flow: create the inventory JSON and import based on inventory JSON
  • Variant 2: export by resource

Proposal for test

  • Create a (managed) directory setup via Terraform via a GH Action
  • Create a subaccount setup via Terraform via GH Actions
  • Execute the export variants for the two setups
  • Execute a import for the two variants

I think it should be possible to copy the imported state to the Terraform setup and execute a Terraform plan, that should show "no action required"

@lechnerc77 lechnerc77 added the test setup Setup of tests label Jan 23, 2025
@lechnerc77 lechnerc77 added this to the v0.4.0-beta1 milestone Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test setup Setup of tests
Projects
None yet
Development

No branches or pull requests

1 participant