Beispiel #1
0
        public void CreateLargeRepository(IFixture fixture, Signature signature, string message)
        {
            // Arrange
            var targetDir = RepositoryFixture.GetRepositoryPath("Benchmark");

            DirectoryUtils.Delete(targetDir);
            fixture.Customize(new MetadataCustomization(2, 200, 30));

            // Act
            var sut = fixture.Create <ObjectRepository>();

            sut.SaveInNewRepository(signature, message, RepositoryFixture.GetRepositoryDescription(targetDir));

            // Assert
            // No assertion, the goal of this test is to create a repository to update Assets\Benchmark.zip
            Console.WriteLine($"Repository created at '{targetDir}'.");
        }