Prepare for release (#17)

This commit is contained in:
Patrick Stevens
2024-06-04 00:10:25 +01:00
committed by GitHub
parent 517f0242c4
commit 6f2c11a0a3
11 changed files with 396 additions and 15 deletions

View File

@@ -0,0 +1,26 @@
namespace PrattParser.Test
open NUnit.Framework
open PrattParser
open ApiSurface
[<TestFixture>]
module TestSurface =
let assembly = typedefof<Parser<_, obj, obj>>.Assembly
[<Test>]
let ``Ensure API surface has not been modified`` () = ApiSurface.assertIdentical assembly
[<Test>]
[<Explicit "Not yet published">]
// https://github.com/nunit/nunit3-vs-adapter/issues/876
let CheckVersionAgainstRemote () =
MonotonicVersion.validate assembly "WoofWare.PrattParser"
[<Test ; Explicit>]
let ``Update API surface`` () =
ApiSurface.writeAssemblyBaseline assembly
[<Test>]
let ``Ensure public API is fully documented`` () =
DocCoverage.assertFullyDocumented assembly