mage
a Make/rake-like dev tool using Go (by magefile)
gotestsum
'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results. (by gotestyourself)
Our great sponsors
mage | gotestsum | |
---|---|---|
9 | 8 | |
3,890 | 1,895 | |
1.1% | 3.5% | |
5.0 | 7.6 | |
3 months ago | 10 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mage
Posts with mentions or reviews of mage.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-07.
-
climate "CLI Mate": a CLI library that autogenerates CLIs from structs / functions with support for nested subcommands, global / local flags, help generation from godocs, typo suggestions, shell completion and more
mage being a build tool and climate being a CLI library, a direct comparison probably doesn't make much sense but their parsing (https://github.com/magefile/mage/blob/master/parse/parse.go) seems very similar to what I'm doing for metadata (param names / godocs / comments etc.).
-
Is your makefile supposed to be a justfile?
mage
-
Anyone else doing compiler work in Golang?
https://github.com/magefile/mage but I haven't tried it as am not a fun of make like tools.
-
Do we have a package.json/scripts section alternative in Golang?
I prefer https://github.com/magefile/mage
-
[sema v1.0.0] First Major Version Bump
We now use mage to cross-compile release binaries as proposed by u/g00py3 in this Reddit discussion.
-
//go:generate with ENV variables?
Try github.com/magefile/mage - it's written in Go and lets you write Go to run scripts rather than writing bash inside yaml ;)
-
Mage v1.13 is released - now supports magefiles in a subdir
Mage v1.13 was released as of yesterday. This included a few small fixes, and a big new feature - subdirectory support.
-
Ugly code, improvement suggestions needed
If you need build automation, use mage.
gotestsum
Posts with mentions or reviews of gotestsum.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-06.
-
2023 update to go-recipes collection
auto instrumenting skipping tests, analysing slow tests with gotestsum: https://github.com/gotestyourself/gotestsum
- Is your makefile supposed to be a justfile?
-
Which Tools Do You use daily for Golang development?
gotestsum for watching the filesystem and run tests on save.
-
Go API Project Set-Up
The go test command does not support test reporting out of the box. To generate a test report, we have to use gotestsum to generate a JUnit report. We add gotestsum to our tools.go file:
-
I built a tool to get instant test results (<500ms)
gotestsum has a similar feature with gotestsum --watch that runs the tests for the changed package when a file is saved.
-
Looking for a test runner like pytest.
Closest I know of: https://github.com/gotestyourself/gotestsum
- Highlighting test passes, failures, and index numbers in test output
-
Learning Go by examples: part 6 - Create a gRPC app in Go
Gotestsum, what is this new tool? Go test is not enough?
What are some alternatives?
When comparing mage and gotestsum you can also consider the following projects:
Cockatrice - A cross-platform virtual tabletop for multiplayer card games
gotest - go test with colors
goyek - Task automation Go library
kutego-api - KuteGo is an API to play with cute Aurélie's Gophers
taskflow - Create build pipelines in Go [Moved to: https://github.com/goyek/goyek]
gomega - Ginkgo's Preferred Matcher Library
PacketProxy - A local proxy written in Java
gotest.tools - A collection of packages to augment the go testing package and support common patterns.
HattrickOrganizer - Assistant for Hattrick online football manager
spok - It's a build system Jim, but not as we know it đŸ––
symphony-of-empires - Symphony of the Empires is a RTS strategy game and map game.
go - The Go programming language