How to test all sub-packages from the root package?

Hello,

We are currently developing a package with multiple sub-packages, all registered.

I would like to jointly test all sub-packages when running the tests of the main package. However, I cannot find a neat way of doing that. The naive

using Test
import Pkg

@testset verbose=true "MainPackage" begin
   Pkg.test("SubPackage_1")
   Pkg.test("SubPackage_2")
   Pkg.test("SubPackage_3")
end

creates a test environment for every single sub-package, thus creating quite an ugly output.

Is there any better way of approaching this?

Thanks a lot for your help!