-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I love scrut :) I need exactly this kind of tool.
I think the usage of scrut can be divided into roughly three categories:
- Tests only Dont generate any html. Possible with both .md and .t files.
- Tests+docs. Writing tests in markdown, and compiling those .md tests into html. It is generally speaking possible to learn about a tools behavior, including edge cases, by studying a set of test cases. But normal test cases are often not something that is easily read. Ideally this solution (using scrut for "tests+docs") would result in test cases that are easy to read, well as easy as it gets, and comparable to studying toy examples in a demos folder.
- Verify docs Writing regular docs in .md, but verifying that the tool output behaves like the docs says. The focus is on checking that the examples in the docs are correct, not so much on testing that the code is correct.
Do you agree with this summary?
As far as I can see, this repo demonstrates only category 1.
Do you know of any real or toy examples where they use scrut? If so, I would really like to study such examples closer. In particular Im interested in demonstrations of cat 2 and 3.
Sincerely
Metadata
Metadata
Assignees
Labels
No labels