Beispiel #1
0
 public StrykerCLI(IStrykerRunner stryker)
 {
     _stryker = stryker;
     // Create a log buffer to buffer log messages until the logging is configured.
     _logBuffer = new LogBuffer();
     ExitCode   = 0;
 }
 public App(IOptions <Configuration> configuration,
            IStrykerRunner strykerRunner,
            IFullReportProducer fullReportProducer)
 {
     this.configuration      = configuration.Value;
     this.strykerRunner      = strykerRunner;
     this.fullReportProducer = fullReportProducer;
 }
Beispiel #3
0
 public StrykerCli(IStrykerRunner stryker                 = null,
                   IConfigReader configReader             = null,
                   ILoggingInitializer loggingInitializer = null,
                   IStrykerNugetFeedClient nugetClient    = null)
 {
     _stryker            = stryker ?? new StrykerRunner();
     _configReader       = configReader ?? new ConfigReader();
     _loggingInitializer = loggingInitializer ?? new LoggingInitializer();
     _nugetClient        = nugetClient ?? new StrykerNugetFeedClient();
 }
 public StrykerCLI(IStrykerRunner stryker)
 {
     _stryker = stryker;
     _logger  = ApplicationLogging.LoggerFactory.CreateLogger <StrykerCLI>();
     ExitCode = 0;
 }
Beispiel #5
0
 public StrykerCLI(IStrykerRunner stryker)
 {
     _stryker = stryker;
 }