Scriptorium.Hedgehog
0.2.0
dotnet add package Scriptorium.Hedgehog --version 0.2.0
NuGet\Install-Package Scriptorium.Hedgehog -Version 0.2.0
<PackageReference Include="Scriptorium.Hedgehog" Version="0.2.0" />
<PackageVersion Include="Scriptorium.Hedgehog" Version="0.2.0" />
<PackageReference Include="Scriptorium.Hedgehog" />
paket add Scriptorium.Hedgehog --version 0.2.0
#r "nuget: Scriptorium.Hedgehog, 0.2.0"
#:package Scriptorium.Hedgehog@0.2.0
#addin nuget:?package=Scriptorium.Hedgehog&version=0.2.0
#tool nuget:?package=Scriptorium.Hedgehog&version=0.2.0
Scriptorium
F# libraries for building and testing F#/Fable applications.
Packages
Quick start
open Scriptorium.Nib
open Scriptorium.Quill.Runner
open type Scriptorium.Quill.Runner.Test
[<EntryPoint>]
let main _ =
runTests [
testList "My suite" [
test("equality", fun () ->
assertThat 42 (isEqualTo 42)
)
test("option chain", fun () ->
assertThat (Some "hello") (Option.value >> isEqualTo "hello")
)
test("record fields with tags", fun () ->
assertThat { Name = "alice"; Age = 25 } (
inside _.Age (tag "age" >> isGreaterOrEqual 18)
>> inside _.Name (tag "name" >> isNotEqualTo "")
)
)
]
]
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Fable.Core (>= 5.2.0)
- FSharp.Core (>= 10.0.101)
- Hedgehog (>= 2.0.4)
- Scriptorium.Quill (>= 0.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
### 🚀 Features
* Bump to Fable 5.5 and Fable.Core 5.2 ([fc7341a](https://github.com/fable-hub/Scriptorium/commit/fc7341a10f104971eccc48c7d7e8e0a2711529e4))
* Bump to Fable 5.7 and adapt Python defaultSeqRange for performmance reason ([8c6045c](https://github.com/fable-hub/Scriptorium/commit/8c6045c2adb36b2e3fed8b0fbed401d66494145f))
### 🐞 Bug Fixes
* Gen.dateTime call for Hedgehog 2.0.4 ([28fc757](https://github.com/fable-hub/Scriptorium/commit/28fc757b0429cd9435107e6eb82f5c30f5c9a799))
<strong><small>[View changes on Github](https://github.com/fable-hub/Scriptorium/compare/973600e6e2100bcc6a196b6a21e3bb372897871a..2cc3cecb8f4974a930007ef06c4cabb8b2590de3)</small></strong>