Skip to content

Exposure of Literate as doc test utility #1221

Closed

Description

@ShalokShalom

For years, I was under the impression that fsharp simply has no tool for doc tests.

Arguably is XMLDoc capabable to be used as such, while the term 'doc test' is really not associated by SEO with F# tools, when you look for it.

I think Literate could get its own repo, with appropriate documentation regarding its capabilities, meaning we include the term doc test library and also add it to the awesome lists.

I can also see a mention in the weekly newsletter as appropriately.

In any case, is a more popular exposure of it for this use case suggested, and I invite the maintainers of this package and FSharp.Formatting at large to comment, of course.

Thanks ☀️

Activity

  1. github-actions commented on Jul 29, 2026

    @github-actions
    Contributor

    🤖 This is an automated response from Repo Assist.

    Great suggestion! FSharp.Formatting's Literate library can definitely be used for doc testing — it executes F# code snippets and can verify their output, making it useful for keeping documentation examples correct.

    A few thoughts on increasing visibility:

    • Adding it to awesome-fsharp under a "Documentation/Testing" category would help discoverability.
    • A dedicated section in the FSharp.Formatting docs explicitly describing the "doc test" use case would help SEO.

    Whether a standalone package/repo makes sense is a maintainer decision — splitting it would mean more maintenance overhead, but could increase visibility. Either way, improving the documentation of this use case within the existing repo seems like a good low-effort starting point.

    Generated by 🌈 Repo Assist, see workflow run. Learn more.
    Comment /repo-assist to run again

    Add this agentic workflow to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/repo-assist.md@42c2ab5b4e4c9273534c39259b2e0df7f20f07e9
    
  2. ShalokShalom commented on Aug 5, 2026

    @ShalokShalom
    Author

    I thought more about actually describing this functionality in the repos main README.

  3. ShalokShalom commented on Nov 4, 2026

    @ShalokShalom
    Author

    In case someone else is looking for a solution for fsharp, here is another tool, that I found:
    https://mangelmaxime.github.io/Nacara/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions