1 // ****************************************************************
\r
2 // Copyright 2007, Charlie Poole
\r
3 // This is free software licensed under the NUnit license. You may
\r
4 // obtain a copy of the license at http://nunit.org/?p=license&r=2.4
\r
5 // ****************************************************************
\r
9 namespace NUnit.Framework.Extensions
\r
12 /// RepeatAttribute may be applied to test case in order
\r
13 /// to run it multiple times.
\r
15 [AttributeUsage(AttributeTargets.Method, AllowMultiple=false)]
\r
16 public class RepeatAttribute : Attribute
\r
21 /// Construct a RepeatAttribute
\r
23 /// <param name="count">The number of times to run the test</param>
\r
24 public RepeatAttribute(int count)
\r
30 /// Gets the number of times to run the test.
\r
34 get { return count; }
\r