public void Dispose()
        {
            var config      = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build();
            var settings    = new NetCoreAppSettings(config);
            var serviceName = settings.GetString("Storage:SqlServerServiceName");

            SqlServerStorageBase.CleanupAllTests(serviceName);
        }
        public SqlServerRepositorySpecSetup()
        {
            var config      = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build();
            var settings    = new NetCoreAppSettings(config);
            var serviceName = settings.GetString("Storage:SqlServerServiceName");

            Repository = SqlServerRepository.FromSettings(NullRecorder.Instance, settings);
            SqlServerStorageBase.InitializeAllTests(serviceName, "TestDatabase");
        }
        public static void InitializeAllTests(TestContext context)
        {
            InitializeAllTests();
            var          config       = new ConfigurationBuilder().AddJsonFile(@"appsettings.json").Build();
            var          settings     = new NetCoreAppSettings(config);
            var          serviceName  = settings.GetString("SqlServerServiceName");
            const string databaseName = "TestDatabase";

            repository = SqlServerRepository.FromSettings(settings, databaseName);
            SqlServerStorageBase.InitializeAllTests(context, serviceName, databaseName);
        }