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
.