Table of Contents

Property TestMethodArity

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

TestMethodArity

Gets the arity (number of generic types) on the method itself. If the test did not originate in a method, will return null.

public required int? TestMethodArity { get; set; }

Property Value

int?

Remarks

Note: Will be null if there was no value provided during deserialization.