Comments (1)
I'm guessing you found the solution to this problem. Just in case someone else finds this issue, I'll post it here as well.
You can pass any go test
flags along by including them after a --
:
$ gotestsum --format testname -- --tags=foo ./...
Be sure to include the list of packages if you use any go test
flags, because the default of ./...
will not be applied once you add any flags after --
.
from gotestsum.
Related Issues (20)
- Allow timeout parameter to be passed to go test HOT 2
- race detected output inconsistently reported HOT 5
- Does gotestsum support adding properties to test cases in the junit xml result file ? HOT 9
- Add `json` format support (not via --jsonfile) HOT 6
- Add github-actions and buildkite formats HOT 3
- Add support Ginkgo testing framework HOT 1
- Coverage not reported HOT 1
- The release for windows/arm64 was skipped HOT 1
- testname format still prints failure output with --hide-summary=output HOT 2
- Issue with verbose output HOT 3
- gotestsum stops on first package that has failing test HOT 1
- Successful benchmark run is marked as failed HOT 1
- Wait before retrying tests via --rerun-failed flag HOT 1
- generate coverage reports HOT 1
- Subtest with parenthesis in name fail to rerun HOT 3
- Output total coverage over all tested packages HOT 1
- Re-running of failed tests does not handle multiple levels of subtests HOT 4
- feature request: global timeout HOT 1
- test result caching with `--raw-command <test-binary>`? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gotestsum.