共用方式為


com.azure.core.test

Package containing common test classes for Azure client libraries.

Classes

AzureTestWatcher

JUnit 5 extension class which reports on testing running and simple metrics about the test such as run time.

InterceptorManager

A class that keeps track of network calls by either reading the data from an existing test session record or recording the network calls in memory.

MyAzureException

A test exception.

MyRestException

A test exception.

SyncAsyncExtension

A test template extension that helps to branch out a single test into sync and async invocation.

TestBase

Base class for running live and playback tests using InterceptorManager.

TestContextManager

This class handles managing context about a test, such as custom testing annotations and verifying whether the test is capable of running.

TestProxyTestBase

Base class for running live and playback tests using test-proxy

ThreadDumper

A utility and extension to dump threads after 30 minutes from starting tests.

Enums

TestMode

The possible testing modes.