Scriptorium.Hedgehog
0.4.0
dotnet add package Scriptorium.Hedgehog --version 0.4.0
NuGet\Install-Package Scriptorium.Hedgehog -Version 0.4.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Scriptorium.Hedgehog" Version="0.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Scriptorium.Hedgehog" Version="0.4.0" />
<PackageReference Include="Scriptorium.Hedgehog" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Scriptorium.Hedgehog --version 0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Scriptorium.Hedgehog, 0.4.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Scriptorium.Hedgehog@0.4.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Scriptorium.Hedgehog&version=0.4.0
#tool nuget:?package=Scriptorium.Hedgehog&version=0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Fable.Core (>= 5.2.0)
- FSharp.Core (>= 10.0.101)
- Hedgehog (>= 2.0.4)
- Scriptorium.Quill (>= 0.5.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
### 🚀 Features
* Add Fable/BEAM (Erlang) as a target for Scriptorium.Hedgehog (#12) ([22bf976](https://github.com/fable-hub/Scriptorium/commit/22bf97602b74f3d097a27da241e1fce17c803624))
<strong><small>[View changes on Github](https://github.com/fable-hub/Scriptorium/compare/ed13f0d3cb498a0ca94ad84ef32f8c4967eca081..194b8c70e6c0f258cd9eb808ffd89aaaa2429ea9)</small></strong>