Skip to content

Real life examples? #38

@velle

Description

@velle

I love scrut :) I need exactly this kind of tool.

I think the usage of scrut can be divided into roughly three categories:

  1. Tests only Dont generate any html. Possible with both .md and .t files.
  2. 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.
  3. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions