示例#1
0
    public static void Init()
    {
        VerifyRavenDB.Enable();

        #endregion

        VerifyDiffPlex.Initialize();
    }
示例#2
0
    static Tests()
    {
        #region Enable

        VerifyRavenDB.Enable();

        #endregion

        server = EmbeddedServer.Instance;
        var path = Path.Combine(Path.GetTempPath(), "RavenTestData");
        if (Directory.Exists(path))
        {
            Directory.Delete(path, true);
        }

        Directory.CreateDirectory(path);
        server.StartServer(
            new()
        {
            DataDirectory = path
        });
    }