-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Discover and verify samples embedded in asciidoc
This change allows users to test samples embedded in Asciidoctor. SampleDiscovery.embeddedSamples() looks within all .adoc and .asciidoc files for blocks marked with the .testable-sample role and extracts source blocks with a file name to a temp directory, then extracts a terminal command beginning with "$ " and its output and verifies that the given sources + command produce the given output, with normalization of course. This is one solution for issue #2.
- Loading branch information
Showing
22 changed files
with
876 additions
and
229 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.