# Julia test directory \`test\` or \`tests\`?

**URL:** https://discourse.julialang.org/t/julia-test-directory-test-or-tests/123426
**Category:** New to Julia
**Tags:** question
**Created:** [December 3, 2024, 9:23pm UTC](https://discourse.julialang.org/t/julia-test-directory-test-or-tests/123426 "2024-12-03T21:23:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![world-peace](https://avatars.discourse-cdn.com/v4/letter/w/9f8e36/32.png) [@world-peace](https://discourse.julialang.org/u/world-peace)
#### Post date: [December 3, 2024, 9:23pm UTC](https://discourse.julialang.org/t/julia-test-directory-test-or-tests/123426/1 "2024-12-03T21:23:23Z")

</div>

This documentation page suggests the correct name for unit test directory is `test`

- [5. Creating Packages · Pkg.jl](https://pkgdocs.julialang.org/dev/creating-packages/#adding-tests-to-packages)

On the other hand, this documentation page suggests the correct name is `tests`

- [Unit Testing · The Julia Language](https://docs.julialang.org/en/v1/stdlib/Test/)

> Run the Julia unit tests listed in `tests`

---

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [December 3, 2024, 9:26pm UTC](https://discourse.julialang.org/t/julia-test-directory-test-or-tests/123426/2 "2024-12-03T21:26:52Z")

</div>

You missed what `tests` is a reference to.

```julia
                |
                v
Base.runtests(tests=["all"]; ncores=ceil(Int, Sys.CPU_THREADS / 2),
              exit_on_error=false, revise=false, [seed])
￼
Run the Julia unit tests listed in tests,

```
