Exemple #1
0
        public TestOutputDto GetTestOutput(TestRunDto test)
        {
            TestOutput testOutput = null;

            if (test != null)
            {
                var fullPath = _locationsProvider.GetTestOutputFullPath(test.TestInfo.Guid, test.TestInfo.Finish);
                if (File.Exists(fullPath))
                {
                    testOutput = fullPath.LoadTestOutput();
                }
            }
            return(testOutput?.ToDto());
        }