Skip to content

chore: new shared testing features#1514

Merged
ianbotsf merged 6 commits intomainfrom
fix-update-item-test
Mar 9, 2026
Merged

chore: new shared testing features#1514
ianbotsf merged 6 commits intomainfrom
fix-update-item-test

Conversation

@ianbotsf
Copy link
Contributor

@ianbotsf ianbotsf commented Mar 8, 2026

Issue #

(none)

Description of changes

Related to aws/aws-sdk-kotlin#1809, this change adds support for dropping kotest as a test runner because of incompatibilities with JDK 8. The support comes in the form of two additions:

  • Add new common annotations @TestInstance and TestLifecycle, which map to junit's @TestInstance and TestInstance.Lifecycle classes. These support non-static @BeforeAll/@AfterAll annotations on JVM. On Native targets these annotations have no effect.
  • Add new withSystemProperties and withEnvVars helper functions for tests. These replace similar functions in kotest.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

ianbotsf added 2 commits March 8, 2026 21:04
…otlin-test and provide feature to support env var and sysprop overrides in tests
@ianbotsf ianbotsf requested a review from a team as a code owner March 8, 2026 21:30
@ianbotsf ianbotsf added the no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly. label Mar 8, 2026
@ianbotsf ianbotsf merged commit 72a417c into main Mar 9, 2026
27 checks passed
@ianbotsf ianbotsf deleted the fix-update-item-test branch March 9, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants