How do I interactively test functions inside of a module?

In VSCode, I can send a function definition to the REPL and test it interactively from there. However, I can’t do that if the function is inside of a module but is not exported. How do I test private module functions while writing Julia code?

You might want to take a look at ReTest.jl, though I don’t think these work with the test items idea in VS Code

You can use Revise.jl to make modifications inside Module available to an outside script that Using that Module and run the Module.function from the script with Julia: Execute line/Cell

Oh, I think I misunderstood the question :sweat_smile:. This is the right answer.

If you use VSCode you might be interested in TestItems which makes testing private functions inside modules easy.