Initial commit
This commit is contained in:
21
PureGym.Test/TestSurface.fs
Normal file
21
PureGym.Test/TestSurface.fs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace PureGym.Test
|
||||
|
||||
open PureGym
|
||||
open NUnit.Framework
|
||||
open ApiSurface
|
||||
|
||||
[<TestFixture>]
|
||||
module TestSurface =
|
||||
|
||||
let assembly = typeof<Gym>.Assembly
|
||||
|
||||
[<Test>]
|
||||
let ``Ensure API surface has not been modified`` () = ApiSurface.assertIdentical assembly
|
||||
|
||||
[<Test ; Explicit>]
|
||||
let ``Update API surface`` () =
|
||||
ApiSurface.writeAssemblyBaseline assembly
|
||||
|
||||
[<Test ; Explicit "This isn't done yet">]
|
||||
let ``Ensure public API is fully documented`` () =
|
||||
DocCoverage.assertFullyDocumented assembly
|
Reference in New Issue
Block a user