public static IssueModel SaveAttachment(FileInfo file) { string issueKey = AnnotationTracker.GetAttributeInCallStack <JiraTestMethodAttribute>()?.Key; IssueModel issue = SaveAttachment(issueKey, file); IssueManager.AddIssue(issue); return(issue); }
public static IssueModel SaveParameter <T>(string title, T value) { string issueKey = AnnotationTracker.GetAttributeInCallStack <JiraTestMethodAttribute>()?.Key; IssueModel issue = SaveParameter(issueKey, title, value); IssueManager.AddIssue(issue); return(issue); }
protected override string GetIssue() { return(AnnotationTracker.GetAttributeInCallStack <JiraTestMethodAttribute>()?.Key); }
protected static string GetJiraIssueKey <TAttribute>() where TAttribute : IJiraIssueKeyAttribute { return(AnnotationTracker.GetAttributeInCallStack <TAttribute>()?.Key); }