PageRenderTime 201ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/Utilities/FakeNUnitFramework/TestAttribute.cs

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