.NET API
RepeatableToolContract
Tracon.Testing.Contracts.Xunit.dllBehavior tests for a custom tool that can safely be repeated.
public abstract class RepeatableToolContract : CustomToolContract, IAsyncLifetime, IAsyncDisposableInheritance
Section titled “Inheritance”object ← CustomToolContract ← RepeatableToolContract
Implements
Section titled “Implements”IAsyncLifetime, IAsyncDisposable
Inherited Members
Section titled “Inherited Members”CustomToolContract.CreateRegistrationAsync(), CustomToolContract.InitializeAsync(), CustomToolContract.DisposeAsync(), CustomToolContract.Name_is_stable_and_valid(), CustomToolContract.Concurrent_server_calls_complete(), CustomToolContract.Metadata_is_self_consistent(), CustomToolContract.Registration, CustomToolContract.ExpectedResultText, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Derive from this contract only when the tool declares TraconToolRegistration.SafeToRepeat. The base CustomToolContract remains the contract for tools that do not make that idempotency promise.
Constructors
Section titled “Constructors”RepeatableToolContract()
Section titled “ RepeatableToolContract()”protected RepeatableToolContract()Methods
Section titled “Methods”Registration_is_marked_safe_to_repeat()
Section titled “ Registration_is_marked_safe_to_repeat()”Verifies that the registration makes the repeatability promise.
[Fact("/Users/farukatasoy/Desktop/projects/Tracon/src/Tracon.Testing.Contracts.Xunit/Contracts/Tools/RepeatableToolContract.cs", 13)]public void Registration_is_marked_safe_to_repeat()