static Fixture() { var testServerOptions = new TestServerOptions { FrameworkVersion = null // user latest, optional }; ConfigureServer(testServerOptions); }
public void TestDriveConfigureServer() { #region test_driver_ConfigureServer var testServerOptions = new TestServerOptions { ServerDirectory = "PATH_TO_RAVENDB_SERVER", // Specify where ravendb server binaries are located (Optional) DataDirectory = "PATH_TO_RAVENDB_DATADIR", // Specify where ravendb data will be placed/located (Optional) }; ConfigureServer(testServerOptions); #endregion }
public void TestDriveConfigureServer() { #region test_driver_ConfigureServer var testServerOptions = new TestServerOptions { // Looks for the newest version on your machine including 3.1.15 and any newer patches // but not major new releases (default is .NET version at time of server release). FrameworkVersion = "3.1.15+", // Specifies where ravendb server binaries are located (Optional) ServerDirectory = "PATH_TO_RAVENDB_SERVER", // Specifies where ravendb data will be placed/located (Optional) DataDirectory = "PATH_TO_RAVENDB_DATADIR", }; ConfigureServer(testServerOptions); #endregion }
public InMemoryDatabaseHelper(TestServerOptions options) { ConfigureServer(options); }