public void WritePublicApiManifest(string path) { var report = PublicApiHelpers.GetPublicApiSurfaceReport("CloudNimble.Breakdance.Assemblies.dll"); var fullPath = Path.Combine(path, "Baselines//CloudNimble.Breakdance.Assemblies.txt"); if (!Directory.Exists(Path.GetDirectoryName(fullPath))) { Directory.CreateDirectory(Path.GetDirectoryName(fullPath)); } File.WriteAllText(fullPath, report); }
public void PublicApiHelpers_GetPublicApiSurfaceReport_FluentAssertions() { var report = PublicApiHelpers.GetPublicApiSurfaceReport("FluentAssertions.dll"); report.Should().NotBeNullOrWhiteSpace(); }
public void PublicApiHelpers_GetPublicApiSurfaceReport_UnknownAssembly() { var report = PublicApiHelpers.GetPublicApiSurfaceReport("Azkaban.dll"); report.Should().BeNullOrWhiteSpace(); }
public void PublicApiHelpers_GetPublicApiSurfaceReport_Breakdance() { var report = PublicApiHelpers.GetPublicApiSurfaceReport("CloudNimble.Breakdance.Assemblies.dll"); report.Should().NotBeNullOrWhiteSpace(); }