# About the use of the test suite when developing a package

**URL:** <https://discourse.julialang.org/t/about-the-use-of-the-test-suite-when-developing-a-package/111862>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [March 20, 2024, 9:45am UTC](https://discourse.julialang.org/t/about-the-use-of-the-test-suite-when-developing-a-package/111862 "2024-03-20T09:45:50Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [March 20, 2024, 6:22pm UTC](https://discourse.julialang.org/t/about-the-use-of-the-test-suite-when-developing-a-package/111862/11 "2024-03-20T18:22:37Z")

</div>

> [@mzaffalon](#):
>
> I did not find a better workflow than doing the following: after loading `Revise.jl`, start Julia in the `MyPkg` base directory:
> 
> ```julia
> ] activate .
> using MyPkg
> ] activate test
> include("test/runtests.jl")
> 
> ```

That seems sketchy. I’m not sure what behavior Julia guarantees if you load a package in one environment and then switch to another environment. What you might want to do instead (in the root folder of the project, and assuming a `test/Project.toml` file):

```julia
] activate test
] dev .
include("test/runtests.jl")

```

---

_[View the full topic](https://discourse.julialang.org/t/about-the-use-of-the-test-suite-when-developing-a-package/111862)._
