Пример #1
0
        static async Task Main(string[] args)
        {
            var scenario = new PluginTestScenarioBuilder <DummyPublisher>()
                           .Configure(config =>
            {
            })
                           .Read(configRead =>
            {
                configRead.JobId = "";
            });

            await scenario.RunAsync();
        }
Пример #2
0
        static async Task Main(string[] args)
        {
            Logger.Init();
            Logger.Info("Starting Tests");
            var scenario = new PluginTestScenarioBuilder <Plugin.Plugin>()
                           .Configure(config =>
            {
                config.LogDirectory       = "logs";
                config.PermanentDirectory = "perm";
                config.TemporaryDirectory = "temp";
            })
                           .Read(read =>
            {
            });

            await scenario.RunAsync();
        }