Method IsValidTestClass
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
IsValidTestClass(Type)
Determines if a type should be used for discovery. Can be used to filter out types that are not desirable. The default implementation filters out abstract (non-static) classes.
protected virtual bool IsValidTestClass(Type type)
Parameters
typeTypeThe type.
Returns
- bool
Returns
trueif the type can contain tests;false, otherwise.