Search Results for

    Show / Hide Table of Contents

    Interface ITestBuilder

    The ITestBuilder interface is exposed by a class that knows how to build tests from a specified method. In general, it is exposed by an attribute which has additional information available to provide the necessary test parameters to distinguish the test cases built.

    Namespace: NUnit.Framework.Interfaces
    Assembly: nunit.framework.dll
    Syntax
    public interface ITestBuilder

    Methods

    View Source

    BuildFrom(IMethodInfo, Test?)

    Builds any number of tests from the specified method and context.

    Declaration
    IEnumerable<TestMethod> BuildFrom(IMethodInfo method, Test? suite)
    Parameters
    Type Name Description
    IMethodInfo method

    The method to be used as a test

    Test suite

    The TestSuite to which the method will be added

    Returns
    Type Description
    IEnumerable<TestMethod>
    • 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