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

**URL:** <https://discourse.julialang.org/t/make-pkg-test-run-the-tests-for-the-current-project/29009>\
**Category:** General Usage\
**Created:** [September 20, 2019, 4:20pm UTC](https://discourse.julialang.org/t/make-pkg-test-run-the-tests-for-the-current-project/29009 "2019-09-20T16:20:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Post date:** [September 20, 2019, 4:20pm UTC](https://discourse.julialang.org/t/make-pkg-test-run-the-tests-for-the-current-project/29009/1 "2019-09-20T16:20:07Z")

</div>

@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? 😃

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [September 20, 2019, 4:47pm UTC](https://discourse.julialang.org/t/make-pkg-test-run-the-tests-for-the-current-project/29009/2 "2019-09-20T16:47:11Z")

</div>

[https://github.com/JuliaLang/Pkg.jl/issues/1253](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.

---

<div class="post-metadata">

**Author:** ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Post date:** [September 20, 2019, 5:00pm UTC](https://discourse.julialang.org/t/make-pkg-test-run-the-tests-for-the-current-project/29009/3 "2019-09-20T17:00:57Z")

</div>

Excellent, thanks so much!
