Skip to content

Clean up doctests by extracting common code #678

Open

Description

@m4tx

There are some doctests that copy-paste the same structs or migrations over and over again (see #675 for an example).

It would be nice to review what we have, and extract the common code out of these tests. It should go either to some doc(hidden) part in the cot crate, or (preferably) into another crate, e.g. cot-test.

Activity

  1. added theissue type on Sep 22, 2026
  2. changed the title [-]Clean up doctests[/-] [+]Clean up doctests by extracting common code[/+] on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions