Skip to content
#

doctest

Here are 58 public repositories matching this topic...

eyalroz
eyalroz commented Mar 2, 2020

I couldn't find this in the documentation or the FAQ: Is it possible to obtain the current test case's name from within that testcase's code? I mean, it should be, but how do we do it? That should be either in the FAQ or in some other relevant documentation file, IMHO.

MartinSStewart
MartinSStewart commented Dec 16, 2019

I have documentation that looks like this

{-| Start creating a codec for a record.

    type alias Point =
        { x : Int
        , y : Int
        }

    pointCodec : Codec Point
    pointCodec =
        Codec.object Point
            -- Note that adding, removing, or reordering fields will prevent you from decoding any data you've previously encoded.
            |> Codec.

Improve this page

Add a description, image, and links to the doctest topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the doctest topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.