Persimmon


Syntax

Namespace: Persimmon
Attributes:
[<AutoOpen>]

Nested types and modules

ModuleDescription
UseTestNameByReflection

Functions and values

Function or valueDescription
assertions
Signature: TestBuilder

Create the test case from assertions.

asyncRun
Signature: AsyncRunBuilder
categories categories target
Signature: categories:seq<string> -> target:TestCase<'T> -> TestCase<'T>
Type parameters: 'T

Add the categories to the test case

category category target
Signature: category:string -> target:TestCase<'T> -> TestCase<'T>
Type parameters: 'T

Add the category to the test case

context name children
Signature: name:string -> children:seq<TestMetadata> -> Context

Create the context.

parameterize
Signature: ParameterizeBuilder

Create the parameterized test case.

skip message target
Signature: message:string -> target:TestCase<'T> -> TestCase<'T>
Type parameters: 'T

Skip the test case.

test(name)
Signature: name:string -> TestBuilder

Create the test case.

timeout time target
Signature: time:int -> target:TestCase<'T> -> TestCase<'T>
Type parameters: 'T
trap
Signature: TrapBuilder

Trap the exception and convert to AssertionResult.

Fork me on GitHub