Hi, I’m trying to run my module’s test line-by-line in vscode (as I used to when I had all my code in 1 file), so I can experiment with the REPL, and see the results of plots.
More specifically, I opened runtests.jl:
RayTracingWeekend.jl/runtests.jl at main · claforte/RayTracingWeekend.jl · GitHub
… and I
(BTW I verified that these tests run with
But I bump into 2 problems:
- on the first line,
using RayTracingWeekend, I get an
ArgumentError: Package RayTracingWeekend not found in current path. I’m not sure how to best fix this issue, i.e. allow using the parent module.
- When I try to run a single line within a test, using Shift-Enter, it runs the whole test. CTRL-Enter too. How can I run line-by-line, e.g. to see the plot of
gradient(20,10)in the final line of that test?
Thank you very much!