Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
testing: run subtest with its name without knowing how many parents it has #30766
This is feature request.
What version of Go are you using (
@santhosh-tekuri - are you looking for commands to run all tests, such as:
From the documentation: https://golang.org/pkg/testing/#hdr-Subtests_and_Sub_benchmarks
If not, would you be able to provide more information about this issue, including a code sample?
after thinking a bit, it seems I am trying to do opposite. I should know which top tests to run after my code change rather than which leaf tests to run. With the correct approach, the behavior seems pleasing.
any way thanks for the patience.