Repository navigation
Run the tests in JavaScript in CI - #39
Closed
leonitousconforti wants to merge 10 commits into
Closed
leonitousconforti wants to merge 10 commits into
leonitousconforti wants to merge 10 commits into
Conversation
leonitousconforti
force-pushed
the
fable-tests
branch
from
October 28, 2026 14:55
9e1a3cf to
d029224
Compare
leonitousconforti
force-pushed
the
fable-tests
branch
from
November 6, 2026 17:09
d029224 to
69ed9d0
Compare
Only the min tie, fable-compiler/Fable#5198, is still listed. ParamName and Convert.ToHexString come from Fable now, and Assert.Throws no longer singles out a plain Exception.
leonitousconforti
force-pushed
the
fable-tests
branch
from
November 6, 2026 18:06
69ed9d0 to
d06615d
Compare
This was referenced Nov 6, 2026
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI's fable job now compiles the test suite with Fable against the packed library and runs it on Node, so a runtime difference from .NET in what the tests cover fails CI rather than slipping through. This no longer builds on #38: flip7 leaves matching .NET to Fable, and the tests that fail in JavaScript until a Fable fix ships are listed in
test/Fable.fswith that fix.test/Fable.fs, compiled only under Fable, stands in for the parts of xunit and FsCheck the tests use, with SHA-256 for the game digests and anAsync.RunSynchronouslythat drains Fable's trampolinetest/FableEntry.fsxwrites the git-ignored entry that calls every Fact and Theory case. It stops at any test attribute or#ifit cannot readLookaheadTestsandPersistenceTestsare left out, and cases that play on aRecording(Fable cannot inheritSystem.Random) or use a task timeout sit behind#ifsfable,fable-library,fable-javascriptandfable-dotnettagsToString("R")writes them, and that0.00001is readExpected failures on Fable 5.27.0: only the second chance tie test, until fable-compiler/Fable#5198 (
minBykeeps the first tie) ships. A listed test counts only if it fails the listed way; any other failure, a listed test that passes and one that did not run fail the run, so the Fable bump that ships it must drop the entry.Checked: fantomas, Release build, 174 .NET tests. Under jsc with Fable 5.27.0: 146 passed, 1 failed as listed, 0 wrong. Node first runs in CI.