Skip to content

Support for doctest with hy. #1019

@rduplain

Description

@rduplain

This gist has my investigation in all things hy + doctest: how to do it, limitations, an idea for hy.contrib.doctest, and a starting point for a py.test plugin to collect and run .hy doctests in a project.

A patch to hy could:

  • Support the full Python doctest command-line program python -m hy.contrib.doctest FILE to run doctests in a specific module.
  • Add a section to the docs on how to use doctest with hy.

I can put this together. I'm interested in reactions and/or alternative approaches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions