public static MyAttribute GetAttribute(string dataKey, string userStoryId, string testCaseId = "shared") { JsonTestDataReader reader = new JsonTestDataReader(userStoryId, testCaseId, dataKey); MyAttribute attribute = reader.GetTestData <MyAttribute>(); return(attribute); }
public static List <MyAttribute> GetAttributeList(string dataKey, string userStoryId, string testCaseId = "shared") { JsonTestDataReader reader = new JsonTestDataReader(userStoryId, testCaseId, dataKey); List <MyAttribute> attributeList = reader.GetTestData <List <MyAttribute> >(); return(attributeList); }
public static MyFile GetFile(string dataKey, string userStoryId, string testCaseId = "shared") { JsonTestDataReader reader = new JsonTestDataReader(userStoryId, testCaseId, dataKey); MyFile file = reader.GetTestData <MyFile>(); return(file); }
public static Folder GetFolder(string dataKey, string userStoryId, string testCaseId = "shared") { JsonTestDataReader reader = new JsonTestDataReader(userStoryId, testCaseId, dataKey); Folder folder = reader.GetTestData <Folder>(); folder.Id = Guid.NewGuid(); folder.CreatedDateTime = DateTime.Now; return(folder); }