mirror of
https://github.com/Smaug123/WoofWare.Whippet
synced 2025-10-06 08:18:39 +00:00
27 lines
751 B
Forth
27 lines
751 B
Forth
namespace WoofWare.Whippet.Plugin.InterfaceMock.Test
|
|
|
|
open NUnit.Framework
|
|
open WoofWare.Whippet.Plugin.InterfaceMock
|
|
open ApiSurface
|
|
|
|
[<TestFixture>]
|
|
module TestAttributeSurface =
|
|
let assembly = typeof<InterfaceMockAttribute>.Assembly
|
|
|
|
[<Test>]
|
|
let ``Ensure API surface has not been modified`` () = ApiSurface.assertIdentical assembly
|
|
|
|
(*
|
|
[<Test>]
|
|
let ``Check version against remote`` () =
|
|
MonotonicVersion.validate assembly "WoofWare.Whippet.Plugin.InterfaceMock.Attributes"
|
|
*)
|
|
|
|
[<Test ; Explicit>]
|
|
let ``Update API surface`` () =
|
|
ApiSurface.writeAssemblyBaseline assembly
|
|
|
|
[<Test>]
|
|
let ``Ensure public API is fully documented`` () =
|
|
DocCoverage.assertFullyDocumented assembly
|