Partager via


PexAssemblySettingsAttribute Class

Definition

Assembly level settings attribute

public ref class PexAssemblySettingsAttribute sealed : Microsoft::Pex::Framework::Settings::PexSettingsAttributeBase
[System.AttributeUsage(System.AttributeTargets.Assembly)]
public sealed class PexAssemblySettingsAttribute : Microsoft.Pex.Framework.Settings.PexSettingsAttributeBase
[<System.AttributeUsage(System.AttributeTargets.Assembly)>]
type PexAssemblySettingsAttribute = class
    inherit PexSettingsAttributeBase
Public NotInheritable Class PexAssemblySettingsAttribute
Inherits PexSettingsAttributeBase
Inheritance
Attributes

Constructors

PexAssemblySettingsAttribute()

Properties

ActiveSettings

Gets the list of settings name that have been set

(Inherited from PexSettingsStoreAttributeBase)
Categories

A named parameter that specifies the fixture categories.

(Inherited from PexSettingsAttributeBase)
ContainsSettings

Gets a value indicating whether this instance has settings that have been set.

(Inherited from PexSettingsStoreAttributeBase)
DisableObservableAssertions

A named parameter that specifies whether observed values should not be asserted

(Inherited from PexSettingsAttributeBase)
DisablePostAnalysis

A named parameter that specifies whether to disable the post analysis.

(Inherited from PexSettingsAttributeBase)
IgnoreAppConfig

Gets or sets a value indicating whether ignores app config files (instead of forcing loading in a separate app domain)

IncludeNonFinalSegmentCoverage

A named parameter that specifies whether IntelliTest should include non-final segment coverage in coverage reports and when deciding whether to emit tests.

(Inherited from PexSettingsAttributeBase)
MaxBranches

A named parameter that specifies the maximum number of branches that can be taken along a single execution path.

(Inherited from PexSettingsAttributeBase)
MaxCalls

A named parameter that specifies the maximum number of method calls during an exploration.

(Inherited from PexSettingsAttributeBase)
MaxConditions

A named parameter that specifies the maximum number of conditions over the inputs that can be checked during a single execution path.

(Inherited from PexSettingsAttributeBase)
MaxConstraintSolverMemory

A named parameter that specifies the constraint solver's memory limit.

(Inherited from PexSettingsAttributeBase)
MaxConstraintSolverTime

A named parameter that specifies the constraint solver's time out value.

(Inherited from PexSettingsAttributeBase)
MaxExceptions

A named parameter that specifies the maximum number of new exceptions before stopping.

(Inherited from PexSettingsAttributeBase)
MaxExecutionTreeNodes

A named parameter that specifies the maximum number of execution tree nodes.

(Inherited from PexSettingsAttributeBase)
MaxRuns

A named parameter that specifies maximum number of runs that will be tried during an exploration.

(Inherited from PexSettingsAttributeBase)
MaxRunsWithoutNewTests

A named parameter that specifies the maximum number of .

(Inherited from PexSettingsAttributeBase)
MaxRunsWithUniquePaths

A named parameter that specifies the maximum number of runs that IntelliTest will attempt which result in distinct execution paths.

(Inherited from PexSettingsAttributeBase)
MaxSequenceLength

A named parameter that specifies maximum number of method calls that can be performed to construct an object of a given type.

(Inherited from PexSettingsAttributeBase)
MaxStack

A named parameter that specifies the maximum stack size during an exploration

(Inherited from PexSettingsAttributeBase)
MaxWorkingSet

A named parameter that specifies the maximum working set.

(Inherited from PexSettingsAttributeBase)
NoSoftSubstitutions

Experimental.

(Inherited from PexSettingsAttributeBase)
NotReproducible

A named parameter that specifies whether generated tests are not reproducible

(Inherited from PexSettingsAttributeBase)
ObserveChoices

A value that indicates whether choices should be observed in the parameter table.

(Inherited from PexSettingsAttributeBase)
Owner

Owners for the generated tests if any and if supported by the test framework.

(Inherited from PexSettingsAttributeBase)
Priority

The priority of the generated tests if supported by the test framework

(Inherited from PexSettingsAttributeBase)
RequiredDynamicCoveragePercentile

Gets or sets the required coverage percentile.

SeparateAppDomain

Gets or sets a value indicating whether a separate app domain should be used.

TestClassName

A named parameter that specifies the format string for the the test class name.

(Inherited from PexSettingsAttributeBase)
TestCopyright

Gets or sets the test copyright that is inserted into all generated test case files.

TestEmissionBranchHits

A named parameter that specifies whether IntelliTest can emit a new test case if the branch coverage increases, considering how often branches have been hit, capped by this option.

(Inherited from PexSettingsAttributeBase)
TestEmissionFilter

A named parameter that specifies grounds on which IntelliTest should generate test cases.

(Inherited from PexSettingsAttributeBase)
TestExcludePathBoundsExceeded

A named parameter that specifies whether to ignore execution paths that exceed MaxCalls, MaxBranches or MaxConditions.

(Inherited from PexSettingsAttributeBase)
TestForceFixtureSetupTeardown

Gets or sets a value indicating whether fixture setup and teardown methods should be executed on each test.

TestFramework

Gets or sets the test framework.

TestGenerateDuplicates

Gets or sets a value indicating whether duplicate tests should be emitted.

TestLanguage

Gets or sets the test language.

TestNoClassAttribute

Gets or sets a value indicating whether no test classes should be emitted.

TestNoPartialClasses

Gets or sets a value indicating whether no partial classes should be emitted.

TestOverrideReadOnly

Gets or sets a value indicating whether readonly files should be overridden.

TestRootNamespace

Gets or sets the test root namespace.

ThreadApartmentState

A named parameter that specifies in which apartment state the test thread should be.

(Inherited from PexSettingsAttributeBase)
Timeout

A named parameter that specifies the exploration time out value.

(Inherited from PexSettingsAttributeBase)

Methods

Clone()

Clones this instance.

CopyValues(PexSettingsStoreAttributeBase)

Copies the values to attribute

(Inherited from PexSettingsStoreAttributeBase)
GetBooleanValue(String)

Gets the bool value.

(Inherited from PexSettingsStoreAttributeBase)
GetEnumValue<T>(String, T)

Gets the enum value.

(Inherited from PexSettingsStoreAttributeBase)
GetInt32Value(String, Int32)

Gets the int value.

(Inherited from PexSettingsStoreAttributeBase)
GetStringValue(String, String)

Gets the string value.

(Inherited from PexSettingsStoreAttributeBase)
GetValue<T>(String, T)

Gets a value

(Inherited from PexSettingsStoreAttributeBase)
GetValue<T>(String)

Gets a value

(Inherited from PexSettingsStoreAttributeBase)
IntegrateSettings(PexSettingsStoreAttributeBase)

Integrates settings from attribute that have not been set in the current store yet

(Inherited from PexSettingsStoreAttributeBase)
Lock()

Locks all properties of this instance.

(Inherited from PexSettingsStoreAttributeBase)
OverrideSettings(PexSettingsStoreAttributeBase)

Overrides the settings.

(Inherited from PexSettingsStoreAttributeBase)
SetValue(String, Object)

Sets the value.

(Inherited from PexSettingsStoreAttributeBase)
ToCustomAttribute()

Creates a custom attribute

(Inherited from PexSettingsStoreAttributeBase)
TryGetValue(String, Object)

Tries to query the value.

(Inherited from PexSettingsStoreAttributeBase)
WriteXml(SafeSimpleXmlWriter)

Writes the settings as XML attributes

(Inherited from PexSettingsStoreAttributeBase)

Applies to