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: 098f4c0f23f535cc34127db2b30c572d67669199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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>
		/// <param name="result"></param>
		void Run(TestResult result);
	}
}