The [targets] approach is (as far as I’m aware) only compatible with using ]test in the REPL (or explicitly calling the Pkg.test API). If you want to run your tests as a standalone “script”, using a dedicated test Project is the best approach.
1 Like