Make pkg> test . run the tests for the current project

@kristoffer.carlsson

Just a thought: not sure if there’s a reason why pkg> test only works with packages, but in my opinion, it would be very elegant if pkg> test . would run the tests for the current project too.

We’d have a consistent way of adding and running the tests: put tests in test/, use REPL or Pkg API, and do this for all types of Julia software, regardless of how they are distributed.

Please? :smiley:

https://github.com/JuliaLang/Pkg.jl/issues/1253

There is no technical reason it doesn’t work right now. Just me that thought that tests for a non-package projects didn’t make sense when I wrote the test code. But of course it does.

1 Like

Excellent, thanks so much!