There are indeed some differences, you can see them here:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is there a difference under the hood between running code via a .jl file and running code via `test name_of_pkg`? | 4 | 542 | April 24, 2020 | |
| Help with runtest | 7 | 626 | February 22, 2022 | |
| Make pkg> test . run the tests for the current project | 2 | 526 | September 20, 2019 | |
| Organizing Julia code | 11 | 3260 | June 21, 2022 | |
| Add Test as a dependency of project | 6 | 814 | November 9, 2022 |