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);
        }
Esempio n. 3
0
 protected override string GetIssue()
 {
     return(AnnotationTracker.GetAttributeInCallStack <JiraTestMethodAttribute>()?.Key);
 }
Esempio n. 4
0
 protected static string GetJiraIssueKey <TAttribute>() where TAttribute : IJiraIssueKeyAttribute
 {
     return(AnnotationTracker.GetAttributeInCallStack <TAttribute>()?.Key);
 }