Search Results for

    Show / Hide Table of Contents

    Interface ITestAssemblyBuilder

    The ITestAssemblyBuilder interface is implemented by a class that is able to build a suite of tests given an assembly or an assembly filename.

    Namespace: NUnit.Framework.Api
    Assembly: nunit.framework.dll
    Syntax
    public interface ITestAssemblyBuilder

    Methods

    View Source

    Build(Assembly, IDictionary<string, object>)

    Build a suite of tests from a provided assembly

    Declaration
    ITest Build(Assembly assembly, IDictionary<string, object> options)
    Parameters
    Type Name Description
    Assembly assembly

    The assembly from which tests are to be built

    IDictionary<string, object> options

    A dictionary of options to use in building the suite

    Returns
    Type Description
    ITest

    A TestSuite containing the tests found in the assembly

    View Source

    Build(string, IDictionary<string, object>)

    Build a suite of tests given the filename of an assembly

    Declaration
    ITest Build(string assemblyName, IDictionary<string, object> options)
    Parameters
    Type Name Description
    string assemblyName

    The filename of the assembly from which tests are to be built

    IDictionary<string, object> options

    A dictionary of options to use in building the suite

    Returns
    Type Description
    ITest

    A TestSuite containing the tests found in the assembly

    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0