WebApplicationFactory<TEntryPoint>.GetTestAssemblies 方法

定义

获取包含功能测试的程序集。 WebApplicationFactoryContentRootAttribute应用于这些程序集的 定义要用于给定 TEntryPoint的内容根。

protected:
 virtual System::Collections::Generic::IEnumerable<System::Reflection::Assembly ^> ^ GetTestAssemblies();
protected virtual System.Collections.Generic.IEnumerable<System.Reflection.Assembly> GetTestAssemblies ();
abstract member GetTestAssemblies : unit -> seq<System.Reflection.Assembly>
override this.GetTestAssemblies : unit -> seq<System.Reflection.Assembly>
Protected Overridable Function GetTestAssemblies () As IEnumerable(Of Assembly)

返回

包含测试的列表 Assembly

适用于