diff --git a/Octokit.Tests.Integration/AutomationSettings.cs b/Octokit.Tests.Integration/AutomationSettings.cs
index fca5ac97..ea7ae1df 100644
--- a/Octokit.Tests.Integration/AutomationSettings.cs
+++ b/Octokit.Tests.Integration/AutomationSettings.cs
@@ -57,5 +57,15 @@ namespace Octokit.Tests.Integration
/// Username of a GitHub test account (DO NOT USE A "REAL" ACCOUNT).
///
public string GitHubUsername { get; private set; }
+
+ ///
+ /// Makes a name with an appended timestamp so that it's safe for testing (i.e., won't collide with existing names).
+ ///
+ /// The name to use as a base, to which a timestamp will be appended
+ /// The name with a timestamp appended
+ public static string MakeNameWithTimestamp(string name)
+ {
+ return string.Concat(name, "-", DateTime.UtcNow.ToString("yyyyMMddhhmmssfff"));
+ }
}
}