# Testing a different file than runtests.jl

**URL:** <https://discourse.julialang.org/t/testing-a-different-file-than-runtests-jl/87789>\
**Category:** Package Management\
**Tags:** package, testing\
**Created:** [September 25, 2022, 7:33pm UTC](https://discourse.julialang.org/t/testing-a-different-file-than-runtests-jl/87789 "2022-09-25T19:33:11Z")\
**Posts on this page:** 1\
**Showing post:** 10

<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:** [September 27, 2022, 2:26pm UTC](https://discourse.julialang.org/t/testing-a-different-file-than-runtests-jl/87789/10 "2022-09-27T14:26:25Z")

</div>

Just dropping my testing workflow:

First, I test everything with (where [TestEnv.jl](https://github.com/JuliaTesting/TestEnv.jl) is installed globally):

```julia
julia> using Pkg; Pkg.activate("."); using TestEnv; TestEnv.activate(); include("test/runtests.jl")

```

For any further test runs, I do:

```julia
julia> include("test/subtests.jl")

```

---

_[View the full topic](https://discourse.julialang.org/t/testing-a-different-file-than-runtests-jl/87789)._
