A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.testtools.unittesting below:

Microsoft.VisualStudio.TestTools.UnitTesting Namespace | Microsoft Learn

AfterAssemblyCleanupEventArgs AfterAssemblyInitializeEventArgs AfterClassCleanupEventArgs AfterClassInitializeEventArgs AfterTestCleanupEventArgs AfterTestInitializeEventArgs AssemblyCleanupAttribute

The assembly cleanup attribute.

AssemblyInitializeAttribute

The assembly initialize attribute.

Assert

A collection of helper classes to test various conditions within unit tests. If the condition being tested is not met, an exception is thrown.

AssertFailedException

AssertFailedException class. Used to indicate failure for a test case.

AssertInconclusiveException

The assert inconclusive exception.

BaseShadow BeforeAssemblyCleanupEventArgs BeforeAssemblyInitializeEventArgs BeforeClassCleanupEventArgs BeforeClassInitializeEventArgs BeforeTestCleanupEventArgs BeforeTestInitializeEventArgs CIConditionAttribute

This attribute is used to conditionally control whether a test class or a test method will run or be ignored based on whether the test is running in a CI environment.

ClassCleanupAttribute

The class cleanup attribute.

ClassCleanupExecutionAttribute

Specification for when to run class cleanup methods.

ClassInitializeAttribute

The class initialize attribute.

CollectionAssert

A collection of helper classes to test various conditions associated with collections within unit tests. If the condition being tested is not met, an exception is thrown.

ConditionBaseAttribute

This attribute is used to conditionally control whether a test class or a test method will run or be ignored, based on a condition and using an optional message.

CssIterationAttribute

CSS Iteration URI.

CssProjectStructureAttribute

CSS Project Structure URI.

DataRowAttribute

Attribute to define in-line data for a test method.

DataSourceAttribute

Specifies connection string, table name and row access method for data driven testing.

DataSourceElement

The Data Source element.

DataSourceElementCollection

The Data source element collection.

DataTestMethodAttribute

This attribute doesn't currently provide any different functionality compared to TestMethodAttribute. It's only present for backward compatibility. Using TestMethodAttribute is recommended, even for parameterized tests.

DeploymentItemAttribute

Used to specify deployment item (file or directory) for per-test deployment. Can be specified on test class or test method. Can have multiple instances of the attribute to specify more than one item. The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot.

DescriptionAttribute

Description of the test.

DiscoverInternalsAttribute

The presence of this attribute in a test assembly causes MSTest to discover test classes (i.e. classes having the "TestClass" attribute) and test methods (i.e. methods having the "TestMethod" attribute) which are declared internal in addition to test classes and test methods which are declared public. When this attribute is not present in a test assembly the tests in such classes will not be discovered.

DoNotParallelizeAttribute

Specification to disable parallelization.

DynamicDataAttribute

Attribute to define dynamic data for a test method.

ExpectedExceptionAttribute

Attribute that specifies to expect an exception of the specified type.

ExpectedExceptionBaseAttribute

Base class for attributes that specify to expect an exception from a unit test.

GenericParameterHelper

This class is designed to help user doing unit testing for types which uses generic types. GenericParameterHelper satisfies some common generic type constraints such as:

  1. public default constructor
  2. implements common interface: IComparable, IEnumerable.
GitHubWorkItemAttribute

GitHubWorkItem attribute; used to specify a GitHub issue associated with this test.

GlobalTestCleanupAttribute

A global test cleanup attribute that applies to every test method in the assembly. The method to which this attribute is applied must be public, static, non-generic, has a single parameter of type TestContext, and either returns void or a Task.

GlobalTestInitializeAttribute

A global test initialize attribute that applies to every test method in the assembly. The method to which this attribute is applied must be public, static, non-generic, has a single parameter of type TestContext, and either returns void or a Task.

HostTypeAttribute IgnoreAttribute

This attribute is used to ignore a test class or a test method, with an optional message.

InternalTestFailureException

InternalTestFailureException class. Used to indicate internal failure for a test case.

OnTestStoppingEventArgs OSConditionAttribute

This attribute is used to ignore a test class or a test method, with an optional message.

OwnerAttribute

Test Owner.

ParallelizeAttribute

Specification for parallelization level for a test run.

PriorityAttribute

Priority attribute; used to specify the priority of a unit test.

PrivateObject

This class represents the live NON public INTERNAL object in the system

PrivateType

This class represents a private class for the Private Accessors functionality.

RetryAttribute

This attribute is used to set a retry count on a test method in case of failure.

RetryBaseAttribute

An abstract attribute that controls retrying a test method if it failed. It's up to the derived classes to define how the retry is done.

RetryResult

The result of a test retry.

ShadowingAttribute STATestClassAttribute

The test class attribute.

STATestMethodAttribute

The test class attribute.

StringAssert

The string assert.

TestCategoryAttribute

TestCategory attribute; used to specify the category of a unit test.

TestCategoryBaseAttribute

Base class for the "Category" attribute.

TestClassAttribute

This attribute is used to mark test classes.

TestClassExtensionAttribute TestCleanupAttribute

The test cleanup attribute marks methods that are executed after every test marked with a TestMethodAttribute.

TestConfiguration

Support for configuration settings for Tests.

TestConfigurationSection

The configuration section for tests.

TestContext

Used to store information that is provided to unit tests.

TestDataRow<T>

When this type is returned from GetData(MethodInfo) (for example, through DynamicDataAttribute), it determines information related to the specific test case.

TestDataSourceDiscoveryAttribute

Specifies how to discover ITestDataSource tests.

TestDataSourceOptionsAttribute

Specifies options for all ITestDataSource of the current assembly.

TestExecution TestExecutionEventArgs TestExtensionExecution TestIdGenerationStrategyAttribute

Specifies how to generate test ID.

TestInitializeAttribute

The test initialize attribute.

TestMethodAttribute

This attribute is used to mark test methods.

TestMethodInvokerContext TestMethodInvokerResult TestPropertyAttribute

The test property attribute.

TimeoutAttribute

Timeout attribute; used to specify the timeout of a unit test.

UnitTestAssertException

Base class for Framework Exceptions.

WebServiceHelper WorkItemAttribute

WorkItem attribute; used to specify a work item associated with this test.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4