# Special environment for testing?

**URL:** <https://discourse.julialang.org/t/special-environment-for-testing/90306>\
**Category:** General Usage\
**Created:** [November 15, 2022, 5:58pm UTC](https://discourse.julialang.org/t/special-environment-for-testing/90306 "2022-11-15T17:58:35Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![roflmaostc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/roflmaostc/32/30123_2.png) [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Post date:** [November 16, 2022, 7:18pm UTC](https://discourse.julialang.org/t/special-environment-for-testing/90306/7 "2022-11-16T19:18:54Z")

</div>

I usually test with the standards tests and [TestEnv.jl](https://github.com/JuliaTesting/TestEnv.jl)

Citing this:

> [@Testing a different file than runtests.jl](https://discourse.julialang.org/t/testing-a-different-file-than-runtests-jl/87789/10):
>
> Just dropping my testing workflow: First, I test everything with (where [TestEnv.jl](https://github.com/JuliaTesting/TestEnv.jl) is installed globally): julia\> using Pkg; Pkg.activate("."); using TestEnv; TestEnv.activate(); include("test/runtests.jl") For any further test runs, I do: julia\> include("test/subtests.jl")

---

_[View the full topic](https://discourse.julialang.org/t/special-environment-for-testing/90306)._
