예제 #1
0
        protected override void Context()
        {
            _outputDir = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TestResults");

            if (!Directory.Exists(_outputDir))
            {
                Directory.CreateDirectory(_outputDir);
            }

            _workingDir = Directory.CreateDirectory(Path.Combine(_outputDir, Guid.NewGuid().ToString()));

            _texCompiler = new TeXCompiler();
            sut          = new ReportCompiler(_texCompiler);

            _settings = new ReportSettings
            {
                Author           = "Unit Tests Engine",
                Keywords         = new[] { "Tests", "PKReporting", "SBSuite" },
                Software         = "SBSuite",
                SoftwareVersion  = "2.5",
                TemplateFolder   = ConstantsForSpecs.StandardTemplateFolder,
                ContentFileName  = "Content",
                DeleteWorkingDir = true
            };
        }
예제 #2
0
 public ReportCompiler(ITeXCompiler texCompiler)
 {
     _texCompiler = texCompiler;
 }