testing: run subtest with its name without knowing how many parents it has #30766
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
This is feature request.
What version of Go are you using (
go version
)?Usecase:
I have lots of subtests with deep hierarchy. I changed some code and would like to test my changes.
I know the test name, but does not know how nested the test is.
I would like to do:
go test -run .../mytest
currently I try:
go test -run /mytest
if it says no tests run, i try
go test -run //mytest
and so on (adding one slash until it matches)
The text was updated successfully, but these errors were encountered: