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 | 495 | April 24, 2020 | |
| Help with runtest | 7 | 578 | February 22, 2022 | |
| Make pkg> test . run the tests for the current project | 2 | 494 | September 20, 2019 | |
| Organizing Julia code | 11 | 3164 | June 21, 2022 | |
| Add Test as a dependency of project | 6 | 764 | November 9, 2022 |