public Testfile GetTestfileBySource(string source) { var runSettings = TestFiles.FirstOrDefault(x => x.Source == source); return(runSettings ?? throw new Exception($"The test source {source} doesn't exist.")); }