Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ITest.cs « NUnitCore « src « nunit « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 91ee9826715ca0a68ac5e1f463bbf0ff07f2c871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace NUnit.Framework {
    
  /// <summary>An <c>ITest</c> can be run and collect its results.</summary>
  /// <seealso cref="TestResult"/>
  public interface ITest {
    /// <summary>Counts the number of test cases that will be run by this
    /// test.</summary>
    int CountTestCases { get; }

    /// <summary>Runs a test and collects its result in a
    /// <see cref="TestResult"/> instance.</summary>
    void Run(TestResult result);
  }
}