Click or drag to resize

SmartTestInconclusiveExceptionType Property

The Type to use for Inconclusive Exception (when the Arrange or Assume fails)

Namespace:  SmartTests
Assembly:  SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax
public static Type InconclusiveExceptionType { get; set; }

Property Value

Type: Type
Remarks

By default, value is null, meaning that default Inconclusive Exception for the current Testing Framework should be used.

  • NUnit -
  • MSTests - This is Microsoft.VisualStudio.TestTools.UnitTesting.AssertInconclusiveException.
  • xUnit - No such Exception type exist.

When there is no such Inconclusive type or if there are multiple ones (if you mix Testing Framework), the one of SmartTests is used by default (SmartTestException).

If you want to force any Exception type, set this property with this Exception type.

See Also