Persimmon icon indicating copy to clipboard operation
Persimmon copied to clipboard

A unit test framework for F# using computation expressions.

Results 6 Persimmon issues
Sort by recently updated
recently updated
newest added

```fsharp let createTest expected xs = test { let actual = xs |> Seq.find (fun x -> x = expected) do! actual |> assertEquals expected } let ok = createTest...

`assetPred: ('T -> bool) -> AssertionResult` にすればテスト失敗時の情報が増やせるのでは? by @hafuu

入れたい - 型安全 - F#フレンドリーなメタデータ(モデルを再設計するときに考慮) - アサーションのカスタマイズ性の高さ

エラーメッセージをカスタマイズする際に、文字列から元の型が取り出せると便利。 `replaceViolatedMessage` の `replacer` に ``` fsharp let myReplacer msg = let expected, actual = AssertEqualsReader.read msg // expectedとactualを使って新しいエラー文字列を構築 ```

テスト中に生成したスレッドで、補足されない例外が発生した場合は、テストを中断できないだろうか? テストの実行結果として、例外の情報も出力してくれると嬉しい。

enhancement