You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be interested to demonstrate how to create an extension for AsciiDoc that ran through all the source listings and verified the expected output. This is an inside-out-approach from pulling snippets from a test suite. Different circumstances call for different approaches.
Since the extension has to run the assertions, it will likely be language-specific. We should focus on Ruby or JavaScript in the example.
Here's the inspiration for this extension (though it uses really quirky syntax which I'd like to improve on).
It would be interested to demonstrate how to create an extension for AsciiDoc that ran through all the source listings and verified the expected output. This is an inside-out-approach from pulling snippets from a test suite. Different circumstances call for different approaches.
Since the extension has to run the assertions, it will likely be language-specific. We should focus on Ruby or JavaScript in the example.
Here's the inspiration for this extension (though it uses really quirky syntax which I'd like to improve on).
http://www.jspatterns.com/unit-testing-in-asciidoc/
The text was updated successfully, but these errors were encountered: