Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Initial Scenario testing and provisioning prototype#8718

Merged
dominikschubert merged 22 commits into
masterfrom
poc-scenario-testing
Jul 28, 2023
Merged

Initial Scenario testing and provisioning prototype#8718
dominikschubert merged 22 commits into
masterfrom
poc-scenario-testing

Conversation

@dominikschubert
Copy link
Copy Markdown
Member

@dominikschubert dominikschubert commented Jul 18, 2023

Changes

  • Introduced new InfraProvisioner to our testing library which can be used for more complex test setups such as CDK-based infrastructure definitions.
    • Set up tests directly via CDK (currently limited to single stacks, so you'll need to make sure the CDK app doesn't need any assets)
    • Manual setup and teardown can be registered if required
    • By default any S3 buckets created by CDK are cleaned before tearing down the stack again
    • Teardown can be skipped, to re-use the provisioned infrastructure between test runs. This is especially handy while writing test assertions and iterating over them. If you had to create/remove the stacks all the time, certain resources would make this impractical (e.g. clusters)
  • Added initial scenario tests (most of them are still a kind of playground right now)

@dominikschubert dominikschubert added the semver: patch Non-breaking changes which can be included in patch releases label Jul 18, 2023
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 18, 2023

LocalStack Community integration with Pro

       2 files         2 suites   1h 16m 34s ⏱️
2 271 tests 1 912 ✔️ 359 💤 0
2 272 runs  1 912 ✔️ 360 💤 0

Results for commit 6fa5e36.

♻️ This comment has been updated with latest results.

@steffyP steffyP added this to the Playground milestone Jul 18, 2023
@coveralls
Copy link
Copy Markdown

coveralls commented Jul 26, 2023

Coverage Status

coverage: 82.416% (+0.03%) from 82.385% when pulling 6fa5e36 on poc-scenario-testing into ea7f26b on master.

@steffyP steffyP force-pushed the poc-scenario-testing branch from affdf3f to bb628fc Compare July 27, 2023 11:06
@dominikschubert dominikschubert changed the title WIP: Scenario testing playground Initial Scenario testing and provisioning prototype Jul 27, 2023
@dominikschubert dominikschubert requested a review from steffyP July 28, 2023 09:12
@dominikschubert dominikschubert marked this pull request as ready for review July 28, 2023 09:13
Copy link
Copy Markdown
Member

@steffyP steffyP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking forward to our new scenario tests in practise 😄

@dominikschubert dominikschubert merged commit 6d9a689 into master Jul 28, 2023
@dominikschubert dominikschubert deleted the poc-scenario-testing branch July 28, 2023 11:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants