github Azure/azure-sdk-for-java azure-core-test_1.25.0

latest releases: azure-cosmos-kafka-connect_2.0.0, azure-core-tracing-opentelemetry_1.0.0-beta.51, azure-core-test_1.27.0-beta.3...
6 months ago

1.25.0 (2024-05-01)

Features Added

  • TestContextManager added setTestIteration(Integer) and getTrackTestName.
  • Added annotations LiveOnly and PlaybackOnly to skip tests from running in other testing modes.
  • Added TestContextManagerParameterResolver to manage resolving TestContextManager parameters.

Breaking Changes

  • TestBase no longer extends BeforeEachCallback.
  • TestBase.setupTest now takes TestContextManager rather than TestInfo, which is provided by TestContextManagerParameterResolver.
  • TestBase.teardownTest no longer takes a parameter.
  • TestProxyTestBase.setupTestProxy no lnoger takes a parameter.
  • TestContextManager no longer validates that a non-PLAYBACK test was ran in PLAYBACK mode, TestBase validates that now.
  • DoNotRecord deprecated skipInPlayback, if a test should be skipped in PLAYBACK and shouldn't be recorded it should
    be annotated with both DoNotRecord and LiveOnly.

Other Changes

Dependency Updates

  • Upgraded azure-core from 1.48.0 to 1.49.0.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.