Persimmon


TestRunner

Namespace: Persimmon.Internals
Attributes:
[<Sealed>]

Constructors

ConstructorDescription
new()
Signature: unit -> TestRunner

CompiledName: .ctor

Instance members

Instance memberDescription
x.AsyncRunAllTests(...)
Signature: (progress:(TestResult -> unit) * filter:(TestMetadata -> bool) * tests:seq<'a>) -> Async<RunResult<ResultNode>>
Type parameters: 'a

Collect test objects and run tests.

x.AsyncRunSynchronouslyAllTests(...)
Signature: (progress:(TestResult -> unit) * filter:(TestMetadata -> bool) * tests:seq<'?8167>) -> Async<RunResult<ResultNode>>
Type parameters: '?8167

Collect test objects and run tests.

x.RunSynchronouslyAllTests(...)
Signature: (progress:(TestResult -> unit) * filter:(TestMetadata -> bool) * tests:seq<'a>) -> RunResult<ResultNode>
Type parameters: 'a

Collect test objects and run tests. TODO: Omit all synch caller.

x.RunTestsAndCallback(...)
Signature: (target:Assembly * fullyQualifiedTestNames:string [] * callback:Action<obj>) -> unit
x.RunTestsAndCallback(...)
Signature: (target:Assembly * fullyQualifiedTestNames:string [] * before:Action<obj> * callback:Action<obj>) -> unit

RunTestsAndCallback run test cases and callback. (Internal use only) If fullyQualifiedTestNames is empty, try all tests.

Fork me on GitHub