Persimmon


ActivePatterns

Namespace: Persimmon

Active patterns

Active patternDescription
( |Context|TestCase| )(testMetadata)
Signature: testMetadata:TestMetadata -> Choice<Context,TestCase>

Retreive Context/TestCase from TestMetadata.

CompiledName: |Context|TestCase|

( |ContextResult|TestResult|EndMarker| )(...)
Signature: result:ResultNode -> Choice<ContextResult,TestResult,unit>

Retreive ContextResult/TestResult/EndMarker from test result.

CompiledName: |ContextResult|TestResult|EndMarker|

( |Done|Error| )(result)
Signature: result:TestResult -> Choice<(TestCase * AssertionResult [] * TimeSpan),(TestCase * ExceptionWrapper [] * NotPassedCause [] * TimeSpan)>

Retreive information from non generic TestResult.

CompiledName: |Done|Error|

( |Passed|NotPassed| )(ar)
Signature: ar:AssertionResult -> Choice<unit,NotPassedCause>

Retreive information from non generic AssertionResult.

CompiledName: |Passed|NotPassed|

Fork me on GitHub