gotestyourself / gotestyourself/gotestsum

gotestsum support to run multiple tests using fully qualified name of tests

Open
#408 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
2.7k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

Hi all,

I am trying to run a similar below command in gotestsum to run multiple tests using fully qualified name of tests:

go repo: https://github.com/yakuter/go-test-examples
go test go.mod/01-normal -v -run ^Test11$ && go test go.mod/04-testmain -v -run ^Test1$

Any suggestions how to combine these 2 commands?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the two go test commands and the linked go-test-examples repository to clarify the desired fully qualified test selection behavior. Then inspect gotestsum's test-selection and command parsing entry points; done means one gotestsum invocation can run the requested tests from both packages with documented, verified behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.