Repository navigation
Add a failures reporter to xmd test - #1364
Merged
Merged
Conversation
taras
enabled auto-merge (squash)
November 16, 2026 23:35
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.
Why
Markdown test runs print the full rendered report and progress for each passing test. In a Sidekick Round or CI log, that can bury the failure and its journal path.
What changes
xmd test ./tests --reporter=failuresThe failures reporter writes failure and cancellation diagnostics, journal paths, and a final summary with pass and fail counts and elapsed time to stderr. It counts tests from the selected root documents. The default
prettyreporter provides the full rendered report and live progress.The README includes a command for a prepared checkout. The testing spec explains both reporters and shows the summary format.
CI
--reporter=failures. The shard announces each Markdown suite as it starts.--reporter=dot. Deno keeps the failure diagnostics and omits console logs.How to verify it
14225acc3. The next commit adds documentation. Independent review also passed on the CI adoption commit582122f5a.Scope
xmd testfor single files and directory targets.Scope confirmation