gotestsum icon indicating copy to clipboard operation
gotestsum copied to clipboard

'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.

Results 138 gotestsum issues
Sort by recently updated
recently updated
newest added

This PR adds a new subcommand `gotestsum tool ci-matrix` for use with github actions. The subcommand: * reads `test2json` files saved in a github actions cache from previous test runs...

Hello gotestsum team. I use gotestsum to generate reports for GitHub Actions. GitHub Actions have limitations: "The report size cannot exceed 1 MB". After my test, gotestsum-report.xml contains the full...

enhancement

Hi, Inside VSCode we can specify some settings like: ``` "go.testFlags": ["-v", "-count=1"], "go.testTimeout": "120s", ``` I'm wondering if someone here has integrated `gotestsum` so VSCode will use it when...

question

Implements [this suggestion](https://github.com/gotestyourself/gotestsum/issues/141#issuecomment-695852536) -- updates the execution to search output events for the `PASS` output string. It will then count those as pass events (if no true pass event is...

Please forgive me if this is already possible, but I couldn't find it in the docs. When using format `standard-verbose` and tests running in parallel, it seems that the logs...

I recently ran into the issue described here: https://github.com/gotestyourself/gotestsum/issues/141 Basically, test2json couldn't parse a test result (because I used fmt.Printf() without a linebreak), which caused gotestsum to report the test...

test2json-bug

When running a command like `gotestsum --format testname -- -tags integration -race -shuffle=on ./...` I am seeing output from the vendor directory which should be ignored. I'd expect it to...

question

Is there a way to avoid printing packages when only skipped tests or no tests at all are in package?

enhancement

For example, my project (a git repo) has several sub folders, each contains a `go.mod`. The project root folder may or may not contain a `go.mod`. Is that possible to...

enhancement

I'm not sure if I'm using this package with delve properly. Here's my current flow 1) run `gotestsum --watch` 2) press 'd' to have the test run with delve 3)...

docs