mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-10-05 20:18:43 +00:00
25 lines
693 B
Forth
25 lines
693 B
Forth
namespace WoofWare.Myriad.Plugins.Attributes.Test
|
|
|
|
open NUnit.Framework
|
|
open WoofWare.Myriad.Plugins
|
|
open ApiSurface
|
|
|
|
[<TestFixture>]
|
|
module TestSurface =
|
|
let assembly = typeof<RemoveOptionsAttribute>.Assembly
|
|
|
|
[<Test>]
|
|
let ``Ensure API surface has not been modified`` () = ApiSurface.assertIdentical assembly
|
|
|
|
[<Test>]
|
|
let ``Check version against remote`` () =
|
|
MonotonicVersion.validate assembly "WoofWare.Myriad.Plugins.Attributes"
|
|
|
|
[<Test ; Explicit>]
|
|
let ``Update API surface`` () =
|
|
ApiSurface.writeAssemblyBaseline assembly
|
|
|
|
[<Test>]
|
|
let ``Ensure public API is fully documented`` () =
|
|
DocCoverage.assertFullyDocumented assembly
|