ITest
Common interface supported by all representations
of a test. Only includes informational fields.
The Run method is specifically excluded to allow
for data-only representations of a test.
using System;
using System.Collections.Generic;
using System.Reflection;
namespace NUnit.Framework.Interfaces
{
public interface ITest : IXmlNodeBuilder
{
int Id { get; }
string Name { get; }
string FullName { get; }
Type FixtureType { get; }
MethodInfo Method { get; }
RunState RunState { get; }
int TestCaseCount { get; }
IPropertyBag Properties { get; }
ITest Parent { get; }
bool IsSuite { get; }
bool HasChildren { get; }
IList<ITest> Tests { get; }
}
}