Quality

Tests — what is checked, and how much

Every suite of every repository: what it checks, how many tests, how to run it, and whether the repository's CI runs it. The counts are from a recorded run on 2026-11-16; the CI badge of each repository is the live truth.

2 083
named tests and checks
42
test suites
10
repositories
183 012
generated calls, .NET against wasm: 0 disagreements

A named test or check is one line of a suite's output; the total counts each once (the platform checks are counted once, not per target). A workload is generated input — random programs, a fuzzer, a differential run — and is described next to the suite, not added to the total. In CI says whether that repository's workflow runs the suite on every push. A suite that does not pass right now is listed with its status.

Repository

fsharp-wasm

The compiler. tests/run-all.sh runs every suite and prints one table.

Test suites of fsharp-wasm
SuiteWhat it checksTestsIn CIRun
QuickTestThe compiler’s main regression suite: language features, collections, strings, closures, numerics, arrays; compiled once, run on Node. CI runs it three times: default, with unpacked bool[] / byte[], and with the inlining pass.699yesbash tests/QuickTest/run.sh
QuickTestMultiThe same kind of test, one compilation per domain (Array, Bitwise, Closures, DU, Exceptions, Interop, List, Map, Math, Option, Primitives, Printf, Result, Seq, Set, StringBuilder, Strings), so a failure names the area that broke.
Workload: 17 domains, all passing
—yesbash tests/QuickTestMulti/run.sh
Differential: .NET against wasmGenerated inputs go through the same F# functions on .NET (the reference) and as WebAssembly; the results must be identical. CI also runs it over the QuickTest and Showcase sources.
Workload: 392 functions, 183 012 calls: 179 115 identical, 0 disagreements, 3 896 where both sides fail, 1 known difference
—yesbash tests/Differential/run-props.sh
ShowcaseClassic algorithms and small programs end to end (see Examples).26yesbash tests/Showcase/run.sh
Host interopThe host boundary: callbacks delivered later, strings and numbers across, 500 closures called and called again after a GC.14yesbash tests/HostInterop/run.sh
String ABI (exports)The module imports no wasm:js-string; the accessor exports exist; non-ASCII text round-trips; the empty string and null; a string of 10 000 characters.12yesbash tests/StringAbi/run.sh
IR pass testsUnit tests of the optimiser passes (pipe removal, partial application, shadowing, printf inlining, loop flattening), with property tests over generated programs.
Workload: plus 50 000 random programs checked for equal results and unique binders
27yesdotnet run -c Release --project tests/PassTests
Backend harnessBackend regression suite: every scenario goes through the binary encoder and through WAT and wasm-tools; the fuzzer generates closures and compares the variants.
Workload: scenarios, and a closure fuzz of 30 720 checks with 0 failures
—yesbash tests/BackendHarness/run.sh
BCL bootstrapThe base library’s exceptions and math compiled through the backend and run.11yesbash tests/BclBootstrap/run.sh
Component embedSee Examples.39yescd examples/component-embed && bash run.sh
Component linkingSee Examples.22yescd examples/component-linking && bash run.sh
Wasmecto tests (tests/Wasm)A test project written with the Wasmecto framework, compiled to WebAssembly and run in Node: language core, collections, closures, a compiler pipeline smoke test.81yesbash tests/Wasm/run-tests.sh

fsharp-wasm on GitHub

Repository

fsharp-wasm-core

The F# base library of compiled programs.

Test suites of fsharp-wasm-core
SuiteWhat it checksTestsIn CIRun
Libraries (Data, Ui, Edit, Icons)JSON and numbers, typed CSS and HTML, operations and undo history, and the icons, the same tests under .NET and as WebAssembly GC; the compiler compiles them as a gate.49yessee tests/FSharp.Wasm.Libs.Tests
Core tests (Expecto)Dictionary, interfaces, math, ResizeArray, Stack and StringBuilder of the base library, under .NET with the BCL’s own types.90yesdotnet run --project tests/FSharp.WasmCore.Tests -c Release

fsharp-wasm-core on GitHub

Repository

fsharp-wasmecto

The test framework itself.

Test suites of fsharp-wasmecto
SuiteWhat it checksTestsIn CIRun
Wasmecto’s own testsDictionary, math, stack and StringBuilder tests compiled to WebAssembly with the Expecto-style framework, against the whole base library, and run in Node.36yesbash run-tests.sh

fsharp-wasmecto on GitHub

Repository

fsharp-wasm-runtime

The browser runtime, the demos and the benchmarks.

Test suites of fsharp-wasm-runtime
SuiteWhat it checksTestsIn CIRun
SiteThe deployable site in Chromium: the landing page, the demos embedded in it, the live benchmark, every link.—yesnode tests/e2e/site.mjs
DemosEvery demo, compiled from F# to WasmGC, runs in a real Chromium and does what its source says.—yesnode tests/e2e/demos.mjs
Benchmark pageThe module and the worker load, every kernel agrees with its JavaScript twin, the chart and the table show every kernel, the tooltip answers, the JSON can be downloaded.—yesE2E_ROOT=site node tests/e2e/bench.mjs
Benchmark on NodeThe same harness from a terminal; exits 1 if a result differs.—yesnode demos/bench/run.mjs --profile quick
Unit testsElmish, HTML, CSS and pub/sub tests written in F#, compiled to WebAssembly and run.—nonpm test
Playwright specsDemo and web-component specs in Playwright.
Workload: 21 specs defined (gallery, Mandelbrot, counter, todo, web components)
—nonpx playwright test

fsharp-wasm-runtime on GitHub

Repository

fsharp-wasm-graphics

The graphics stack: 281 tests and checks in five projects.

Test suites of fsharp-wasm-graphics
SuiteWhat it checksTestsIn CIRun
MathVectors, matrices, colours, Bézier.
Workload: plus 200 generated cases
37yesdotnet run --project tests/FSharp.Math.Tests -c Release
Unit and propertyThe scene graph, layout, the command protocol and the TEA runtime.
Workload: 63 unit and 55 property tests
118yesdotnet run --project tests/FSharp.Graphics.Tests -c Release
Wasm entryThe module entry points a host calls: mount, dispatch, render, submit.30yesdotnet run --project tests/FSharp.Graphics.WasmTests -c Release
HostHit testing, dispatch, timelines and easing, the command protocol, software-backend pixels.81nodotnet run --project tests/FSharp.Graphics.HostTests -c Release
WidgetsContrast of every theme pair (WCAG), the semantics of the widgets, the size of the targets, the keyboard (Tab order, Enter, Space, the arrows) and a button inside a scroll region.92yesdotnet run --project tests/FSharp.Graphics.WidgetTests -c Release
InteractWhere a drag lands: the slots, before / after / into, the innermost slot, the threshold of a drag, Escape.44yesdotnet run --project tests/FSharp.Graphics.InteractTests -c Release
Golden imagesEighteen scenes rendered by the software rasterizer and compared with PNG goldens.18yesdotnet run --project tests/FSharp.Graphics.GoldenTests -c Release -- --compare

fsharp-wasm-graphics on GitHub

Repository

fsharp-glyph-aura

Text shaping and layout.

Test suites of fsharp-glyph-aura
SuiteWhat it checksTestsIn CIRun
GlyphAura testsOpenType shaping, SDF layout and glyph handling, including FsCheck property tests.223yesdotnet test tests/GlyphAura.Tests

fsharp-glyph-aura on GitHub

Repository

fsharp-wasm-ide

The widget editor.

Test suites of fsharp-wasm-ide
SuiteWhat it checksTestsIn CIRun
Session testHeadless: a scripted pointer and keyboard session runs through the real hit tester and key path, the scenes are rendered by the software renderer, and the model is checked after every step; it writes the session’s screenshots.24yesdotnet run --project tests/WidgetEditor.Session -c Release -- shots
Editor in ChromiumThe compiled editor in a real Chromium: it draws everything on one canvas, so it is driven by pointer and key events at canvas coordinates and judged by what the canvas shows.20yesnode tests/e2e/editor.mjs

fsharp-wasm-ide on GitHub

Repository

fsharp-wasm-newsletter

The newsletter designer.

Test suites of fsharp-wasm-newsletter
SuiteWhat it checksTestsIn CIRun
Newsletter testsThe blocks, the three outputs (email, web, text), the framework profiles, the checks, the undo history, drag and drop and the library of projects (ids, names, search, the index, the date arithmetic, opening, duplicating and deleting without ever keeping a project under the id of another); under .NET and as WebAssembly GC; the compiler compiles the library and the designer as a gate.82yessee tests/Newsletter.Tests
Designer in ChromiumThe compiled designer in a real Chromium: dragging a block, dragging from the palette, inline editing, icons, the library of projects (new, open, duplicate, delete, search, reload, the migration of the single project of earlier versions) and axe-core.—yesnode tests/e2e/designer.mjs

fsharp-wasm-newsletter on GitHub

Repository

fsharp-wasm-backend

Server modules and the .NET reference libraries.

Test suites of fsharp-wasm-backend
SuiteWhat it checksTestsIn CIRun
.NET librariesGGBP protocol, the shadow graph, reactive state, components, auth, contracts, observability.96yesdotnet test FSharp.Wasm.slnx -c Release
Portable layerThe F# layer modules are built on, checked against the .NET reference: the encoding equals its bytes for 2 000 random patches; decoding bad input never raises. Seven of the tests are the shadow of the clients: the patches of 300 random steps applied in order give the server’s list.61yesdotnet test FSharp.Wasm.slnx -c Release
Canvas client, in processThe canvas client against the real application in the same process: starting, adding, a second client that polls, a patch that comes twice, a gap in the patches, a server that is gone, a stale client.10yesdotnet test FSharp.Wasm.slnx -c Release
Canvas client in ChromiumThe compiled module against the real Ghost Todo module on the host, next to the page of the first client: typing, a click and the keyboard sent as fast as a script can, and what each client does shows on the other.12yesbash build/build.sh --module canvas && node tests/e2e/canvas.mjs
Module on the hostCI compiles GhostTodo.wasm and runs it on the host of fsharp-wasm-edge at a fixed revision.
Workload: 29 checks on every platform that can run on a runner
29yessee fsharp-wasm-edge

fsharp-wasm-backend on GitHub

Repository

fsharp-wasm-edge

The host that runs modules on edge platforms.

Test suites of fsharp-wasm-edge
SuiteWhat it checksTestsIn CIRun
Platform matrixUnicode, patches applied to a shadow, parallel requests, a rolling log, 404 / 405 / 400, CORS, the page, the canvas client below /canvas/; where there is storage, the state survives a restart.
Workload: 29 checks on 8 targets; the answers are compared: identical in 20 steps
29yesnode tests/platforms/run.mjs
Package checkswrangler deploy --dry-run for Cloudflare and netlify build --offline for Netlify, without an account.—yessee .github/workflows/ci.yml
Live checkThe same 29 checks against real deployments. Written and tested against local servers; no deployment exists yet.29nonode tests/platforms/live.mjs …
Workflow lintThe workflows themselves.—yesactionlint

fsharp-wasm-edge on GitHub

Honestly

What is not tested yet

Planned, not done: we publish what exists.

Other browsers

The browser tests run in Chromium. Firefox and Safari run WebAssembly GC, but the demos and benchmarks are not tested there.

Real deployments

The host runs on eight targets in a test matrix, some of them emulations of a platform. Nothing is deployed to Cloudflare, Vercel or Netlify yet, so the live check has not run against a real address.

Accessibility

The canvas demos draw pixels and have no accessible tree. There are no automated accessibility checks yet; they come with the HTML GUI layer on the roadmap.

Found a program that does not compile?

An issue with the F# source is the best bug report: it becomes a test.