Beispiel #1
0
        private static void SaveTestReport(Core.Base.Arkade arkade, TestSession testSession, CommandLineOptions options)
        {
            var packageTestReport = new FileInfo(Path.Combine(
                                                     testSession.GetReportDirectory().FullName, "report.html"
                                                     ));

            arkade.SaveReport(testSession, packageTestReport);

            var standaloneTestReport = new FileInfo(Path.Combine(
                                                        options.OutputDirectory, string.Format(OutputStrings.TestReportFileName, testSession.Archive.Uuid)
                                                        ));

            arkade.SaveReport(testSession, standaloneTestReport);
        }
Beispiel #2
0
        private FileInfo GetHtmlFile()
        {
            DirectoryInfo directoryName = _testSession.GetReportDirectory();

            return(new FileInfo(Path.Combine(directoryName.FullName, "report.html")));
        }