I’m developing a package called MyPkg in Juno with the following directory structure:
MyPkg/ - MyPkg.jl - test/ -- runtests.jl
How do I…
- do test-driven development (using MyPkg/test/runtests.jl)
- use the Juno debugger to easily debug functions executed by runtests
I’d like to do both easily from the Juno console, but everything I’ve tried is awkward/broken. Rather than regurgitate all my failed approaches, would someone more experienced please explain how you set up your paths/environment/workflow to accomplish the above? Or if you think I’m asking the wrong question–meaning, there are better ways to test–please let me know what the right question is.
Note: I have already read the Julia Unit Test docs and Juno Debugging docs. Thanks!