PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

/Utilities/FakeNUnitFramework/TestAttribute.cs

#
C# | 26 lines | 15 code | 1 blank | 10 comment | 0 complexity | f8ab332c98868355553b60bf37e3e5a3 MD5 | raw file
 1using System;
 2
 3namespace NUnit.Framework
 4{
 5	/// <summary>
 6	/// Nothing is in here, this is just a fake class to help tools to detect
 7	/// unit tests. Helper to simulate NUnit unit tests to be detected by test
 8	/// unit runners like ReSharper. TestDriven.NET however requires that a
 9	/// supported NUnit.Framework.dll is used, which is too much hassle for us,
10	/// but you can easily do it if you like.
11	/// </summary>
12	[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
13	public class TestAttribute : Attribute
14	{
15		#region Description (Public)
16		/// <summary>
17		/// Optional description for this test, rarely used.
18		/// </summary>
19		public string Description
20		{
21			get;
22			set;
23		}
24		#endregion
25	}
26}