🎥 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: https://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

How Doctests Work — Guillaume Gomez at Rust in Paris 2025 🦀 Conf

YouTube

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:

https://docs.python.org/3/whatsnew/3.13.html#whatsnew313-doctest

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

¹ https://forum.djangoproject.com/t/testing-django-with-doctest/25550

EDIT: please read the thread! *happy*

#programmming

What’s New In Python 3.13

Editors, Adam Turner and Thomas Wouters,. This article explains the new features in Python 3.13, compared to 3.12. Python 3.13 was released on October 7, 2024. For full details, see the changelog. ...

Python documentation
#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!

Greetings dear #Rustlang community !

Right now I'm having issues with some #doctests on an Open-source project I want to contribute to, that are way too slow for what they do. It looks like the linkage or the execution can take more than 60 seconds, making them fail.

I am looking for a way to make them faster and thus, functional. Is there some common tips to help reaching this goal ?

Thank you in advance !! <3 #Rust

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

https://github.com/maiha/crystal-examples#crystal-examples-

It even includes a web interface!

GitHub - maiha/crystal-examples: This has been completely rewritten in 2019. The old implementation has moved to the alpha branch.

This has been completely rewritten in 2019. The old implementation has moved to the alpha branch. - GitHub - maiha/crystal-examples: This has been completely rewritten in 2019. The old implementati...