mirror of
https://github.com/Smaug123/WoofWare.PrattParser
synced 2025-10-05 09:28:41 +00:00
26 lines
716 B
Forth
26 lines
716 B
Forth
namespace WoofWare.PrattParser.Test
|
|
|
|
open NUnit.Framework
|
|
open WoofWare.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>]
|
|
// 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
|