Initial import of Fantomas client library (#6)
Some checks failed
.NET / build (Debug) (push) Has been cancelled
.NET / build (Release) (push) Has been cancelled
.NET / analyzers (push) Has been cancelled
.NET / build-nix (push) Has been cancelled
.NET / check-dotnet-format (push) Has been cancelled
.NET / check-nix-format (push) Has been cancelled
.NET / Check links (push) Has been cancelled
.NET / Check flake (push) Has been cancelled
.NET / nuget-pack (push) Has been cancelled
.NET / expected-pack (push) Has been cancelled
.NET / all-required-checks-complete (push) Has been cancelled

This commit is contained in:
Patrick Stevens
2024-10-04 15:13:49 +01:00
committed by GitHub
parent 0dad74819e
commit 8834d885de
41 changed files with 2915 additions and 5 deletions

View File

@@ -0,0 +1,28 @@
namespace WoofWare.Whippet.Fantomas.Test
open NUnit.Framework
open WoofWare.Whippet.Fantomas
open ApiSurface
[<TestFixture>]
module TestSurface =
let coreAssembly = typeof<CompExprBinding>.Assembly
[<Test>]
let ``Ensure API surface has not been modified`` () = ApiSurface.assertIdentical coreAssembly
(*
[<Test>]
// https://github.com/nunit/nunit3-vs-adapter/issues/876
let CheckVersionAgainstRemote () =
MonotonicVersion.validate assembly "WoofWare.Whippet.Fantomas"
*)
[<Test ; Explicit>]
let ``Update API surface`` () =
ApiSurface.writeAssemblyBaseline coreAssembly
[<Test>]
let ``Ensure public API is fully documented`` () =
DocCoverage.assertFullyDocumented coreAssembly