TestifyExpecto Module
Functions and values
| Function or value |
Description
|
Full Usage:
TestifyExpecto.runTestsInAssemblyWithCLIArgs config args
Parameters:
TestifyExpectoConfig
-
The integration configuration controlling rendering and execution behavior.
args : string array
-
The CLI arguments passed to the Expecto runner.
Returns: int
The resulting process exit code.
|
Discovers tests from the current assembly and runs them through the Testify-aware Expecto runner.
|
Full Usage:
TestifyExpecto.runTestsWithCLIArgs config args tests
Parameters:
TestifyExpectoConfig
-
The integration configuration controlling rendering and execution behavior.
args : string array
-
The CLI arguments passed to the Expecto runner.
tests : Test
-
The Expecto test tree to execute.
Returns: int
The resulting process exit code, with Testify failures forcing a non-zero result.
|
Runs an explicit Expecto test tree with Testify-aware result recording and CLI argument handling.
|
Full Usage:
TestifyExpecto.testCase name code
Parameters:
string
-
The Expecto test name.
code : unit -> unit
-
The synchronous test body.
Returns: Test
An Expecto Test node that records Testify failures in the current run context.
|
Creates one synchronous Expecto test case that records Testify output.
Example
val tests: obj
Multiple items
module List from Microsoft.FSharp.Collections -------------------- type List<'T> = | op_Nil | op_ColonColon of Head: 'T * Tail: 'T list interface IReadOnlyList<'T> interface IReadOnlyCollection<'T> interface IEnumerable interface IEnumerable<'T> member GetReverseIndex: rank: int * offset: int -> int member GetSlice: startIndex: int option * endIndex: int option -> 'T list static member Cons: head: 'T * tail: 'T list -> 'T list member Head: 'T with get member IsEmpty: bool with get member Item: index: int -> 'T with get ... val rev: list: 'T list -> 'T list
|
|
|
|
|
Full Usage:
TestifyExpecto.testFixture name
Parameters:
string
-
The displayed group name for the fixture.
Returns: Test
An Expecto Test list that runs public parameterless methods marked with
TestifyMethodAttribute.
|
Discovers MSTest-style Testify methods on a fixture type and exposes them as an Expecto test list.
|
|
testify