mirror of
https://github.com/Smaug123/unofficial-nunit-runner
synced 2025-10-11 03:48:38 +00:00
Prepare for release (#27)
This commit is contained in:
25
TestRunner/TestRunner.Test/TestSurface.fs
Normal file
25
TestRunner/TestRunner.Test/TestSurface.fs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace TestRunner.Test
|
||||
|
||||
open NUnit.Framework
|
||||
open ApiSurface
|
||||
|
||||
[<TestFixture>]
|
||||
module TestSurface =
|
||||
|
||||
let assembly = typeof<TestRunner.Combinatorial>.Assembly
|
||||
|
||||
[<Test>]
|
||||
let ``Ensure API surface has not been modified`` () = ApiSurface.assertIdentical assembly
|
||||
|
||||
[<Test ; Explicit>]
|
||||
let ``Update API surface`` () =
|
||||
ApiSurface.writeAssemblyBaseline assembly
|
||||
|
||||
[<Test>]
|
||||
let ``Ensure public API is fully documented`` () =
|
||||
DocCoverage.assertFullyDocumented assembly
|
||||
|
||||
[<Test>]
|
||||
[<Explicit "Not yet published">]
|
||||
let ``Ensure version is monotonic`` () =
|
||||
MonotonicVersion.validate assembly "CHOOSE A NAME"
|
Reference in New Issue
Block a user