03:44 destroycomputers left 04:24 [Coke] left, [Coke] joined
RoM I have a question regarding doctest in Raku. 12:20
I was wondering if there is something similar to Python's "doctest" also available in Raku? The idea is to have some (happy-pass)-test/examples directly attached to the sub, serving the purpose of documentation and automated testing simultaniously.
I know I can use
#| ( some documentation attached to e.g. a sub starting on next line that is shown when &fun_name.WHY is called)
to attach documentation in front of a sub. Is there a way to run the examples in this #|() special comment? Like in the example shown in the screen-shot?
Thank you for your thoughts on that.
12:52 jgaz joined 14:54 destroycomputers joined 14:57 destroycomputers left 15:00 getimiskon joined, destroycomputers joined 17:29 destroycomputers left
SmokeMachine RoM#5135: I was playing something like that: github.com/FCO/Pod-Test-Code 18:19
It will test your pod’s code blocks 18:22
18:25 destroycomputers joined
guifa SmokeMachine nice 20:38
Something that approaches it a bit differently would be Test::Inline github.com/alabamenhu/TestInline 20:41
21:18 getimiskon left 21:21 jgaz left
stevied can someone help me understand why I might want to use p5built-ins? 23:32
particularly, functions like `chomp` or `chop` which are already in the raku language 23:34
particular, functions like `chomp` or `chop` which are already in the raku language