Show / Hide Table of Contents

    Interface IBenchmarkAssertionRunner

    Responsible for running Assertions over BenchmarkResults.

    Namespace: NBench.Sdk
    Assembly: NBench.dll
    Syntax
    public interface IBenchmarkAssertionRunner

    Methods

    RunAssertions(BenchmarkSettings, BenchmarkResults)

    Based on the provided BenchmarkSettings and the BenchmarkResults collected from running a Benchmark, determine if all of the configured BenchmarkAssertions pass or not.

    Declaration
    IReadOnlyList<AssertionResult> RunAssertions(BenchmarkSettings settings, BenchmarkResults results)
    Parameters
    Type Name Description
    BenchmarkSettings settings

    The settings for this benchmark.

    BenchmarkResults results

    The results from this benchmark.

    Returns
    Type Description
    System.Collections.Generic.IReadOnlyList<AssertionResult>

    A set of individual AssertionResult instances.

    Back to top Copyright © 2015-2020 Petabridge™, LLC