azure-core-test_1.25.0
版本发布时间: 2024-05-02 22:19:46
Azure/azure-sdk-for-java最新发布版本:azure-resourcemanager-billing_1.0.0(2024-09-06 19:35:45)
1.25.0 (2024-05-01)
Features Added
-
TestContextManager
addedsetTestIteration(Integer)
andgetTrackTestName
. - Added annotations
LiveOnly
andPlaybackOnly
to skip tests from running in other testing modes. - Added
TestContextManagerParameterResolver
to manage resolvingTestContextManager
parameters.
Breaking Changes
-
TestBase
no longer extendsBeforeEachCallback
. -
TestBase.setupTest
now takesTestContextManager
rather thanTestInfo
, which is provided byTestContextManagerParameterResolver
. -
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
deprecatedskipInPlayback
, if a test should be skipped in PLAYBACK and shouldn't be recorded it should be annotated with bothDoNotRecord
andLiveOnly
.
Other Changes
Dependency Updates
- Upgraded
azure-core
from1.48.0
to1.49.0
.