Fork me on GitHub
#hyperfiddle
<
2024-07-14
>
Drew Verlee16:07:57

whats the ideal way to display the results of rfc tests in a clerk notebook? with-out-str?

Dustin Getz16:07:59

you should be able to redirect stdout right? Nextjournal works great with rcf OOTB : https://nextjournal.com/dustingetz/missionary-relieve-backpressure

Dustin Getz16:07:28

failing that, there are reporter extension points - see source code

Drew Verlee16:07:10

in my clerk notebook, the code from that example, doesn't return the test results to the rendered page, it returns nil (see picture) ill try to look at the source code for inspiration.

Dustin Getz17:07:51

it's displaying the expression result nil without the prints

Dustin Getz17:07:15

Are they going to your terminal? The prints must be going somewhere

Drew Verlee17:07:42

there going to the cider-repl buffer.