home.social

#doctests — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #doctests, aggregated by home.social.

  1. 🎥 New Video Online – Rust in Paris 2025 🦀

    At the latest edition of Rust in Paris, Guillaume Gomez @imperio explained how doctests work — from keeping code examples up-to-date to enabling tests you can’t easily write with unit tests.

    👉 Watch the full talk here: youtu.be/NmgNi6kFXZI

    Huge thanks to Guillaume for his contributions to Rust tooling and for showing us the hidden power of doctests 🙌

    #RustLang #RustInParis #RustProgramming #OpenSource #RustCommunity #Doctests #RustTooling

  2. 🎥 New Video Online – Rust in Paris 2025 🦀

    At the latest edition of Rust in Paris, Guillaume Gomez @imperio explained how doctests work — from keeping code examples up-to-date to enabling tests you can’t easily write with unit tests.

    👉 Watch the full talk here: youtu.be/NmgNi6kFXZI

    Huge thanks to Guillaume for his contributions to Rust tooling and for showing us the hidden power of doctests 🙌

    #RustLang #RustInParis #RustProgramming #OpenSource #RustCommunity #Doctests #RustTooling

  3. 🎥 New Video Online – Rust in Paris 2025 🦀

    At the latest edition of Rust in Paris, Guillaume Gomez @imperio explained how doctests work — from keeping code examples up-to-date to enabling tests you can’t easily write with unit tests.

    👉 Watch the full talk here: youtu.be/NmgNi6kFXZI

    Huge thanks to Guillaume for his contributions to Rust tooling and for showing us the hidden power of doctests 🙌

    #RustLang #RustInParis #RustProgramming #OpenSource #RustCommunity #Doctests #RustTooling

  4. 🎥 New Video Online – Rust in Paris 2025 🦀

    At the latest edition of Rust in Paris, Guillaume Gomez @imperio explained how doctests work — from keeping code examples up-to-date to enabling tests you can’t easily write with unit tests.

    👉 Watch the full talk here: youtu.be/NmgNi6kFXZI

    Huge thanks to Guillaume for his contributions to Rust tooling and for showing us the hidden power of doctests 🙌

    #RustLang #RustInParis #RustProgramming #OpenSource #RustCommunity #Doctests #RustTooling

  5. 🎥 New Video Online – Rust in Paris 2025 🦀

    At the latest edition of Rust in Paris, Guillaume Gomez @imperio explained how doctests work — from keeping code examples up-to-date to enabling tests you can’t easily write with unit tests.

    👉 Watch the full talk here: youtu.be/NmgNi6kFXZI

    Huge thanks to Guillaume for his contributions to Rust tooling and for showing us the hidden power of doctests 🙌

    #RustLang #RustInParis #RustProgramming #OpenSource #RustCommunity #Doctests #RustTooling

  6. I just realized that #Django intentionally does not document how to use #doctests (they say so in the forums¹).

    And I’m annoyed right now.

    positive: they are wrong about doctests not being maintained in #Python: python 3.13 brings colored output for doctests:

    docs.python.org/3/whatsnew/3.1

    I consider doctests to be one of the most elegant ways to test beautifully self-contained functions with easy to understand input.

    ¹ forum.djangoproject.com/t/test

    EDIT: please read the thread! *happy*

    #programmming

  7. I just realized that #Django intentionally does not document how to use #doctests (they say so in the forums¹).

    And I’m annoyed right now.

    positive: they are wrong about doctests not being maintained in #Python: python 3.13 brings colored output for doctests:

    docs.python.org/3/whatsnew/3.1

    I consider doctests to be one of the most elegant ways to test beautifully self-contained functions with easy to understand input.

    ¹ forum.djangoproject.com/t/test

    EDIT: please read the thread! *happy*

    #programmming

  8. I just realized that #Django intentionally does not document how to use #doctests (they say so in the forums¹).

    And I’m annoyed right now.

    positive: they are wrong about doctests not being maintained in #Python: python 3.13 brings colored output for doctests:

    docs.python.org/3/whatsnew/3.1

    I consider doctests to be one of the most elegant ways to test beautifully self-contained functions with easy to understand input.

    ¹ forum.djangoproject.com/t/test

    EDIT: please read the thread! *happy*

    #programmming

  9. I just realized that #Django intentionally does not document how to use #doctests (they say so in the forums¹).

    And I’m annoyed right now.

    positive: they are wrong about doctests not being maintained in #Python: python 3.13 brings colored output for doctests:

    docs.python.org/3/whatsnew/3.1

    I consider doctests to be one of the most elegant ways to test beautifully self-contained functions with easy to understand input.

    ¹ forum.djangoproject.com/t/test

    EDIT: please read the thread! *happy*

    #programmming

  10. #VSCode's #Python mode, helpfully showing the docstring of a class on hover, renders Markdown... which is funny if the class has #doctests with comments!

  11. 's mode, helpfully showing the docstring of a class on hover, renders Markdown... which is funny if the class has with comments!

  12. #VSCode's #Python mode, helpfully showing the docstring of a class on hover, renders Markdown... which is funny if the class has #doctests with comments!

  13. #VSCode's #Python mode, helpfully showing the docstring of a class on hover, renders Markdown... which is funny if the class has #doctests with comments!

  14. Ah well, @[email protected] has a maintained thingy available for #doctests called `crystal-examples`.

    github.com/maiha/crystal-examp

    It even includes a web interface!