Hacker News new | past | comments | ask | show | jobs | submit login

Not without external tooling, as far as I'm aware.

With rust this is built into the default tools installed by rustup.




?

> https://docs.python.org/2/library/doctest.html

Write doctests in your docstrings, run python -m doctest


Sweet. Thank you.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: