git: b666e786d022 - main - devel/gotestsum: Add port

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Tue, 19 Aug 2025 15:19:25 UTC
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b666e786d022d1622b835e10a54af99d12e53d0b

commit b666e786d022d1622b835e10a54af99d12e53d0b
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2025-08-19 15:06:08 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2025-08-19 15:06:08 +0000

    devel/gotestsum: Add port
    
    It's `go test` but basically better in every way. You get lots of
    formatting options (and the default has colors and icons and other
    sparkly bits), and it has JUnit and JSON output formats that fit
    into CI pipelines really well.
---
 devel/Makefile            |  1 +
 devel/gotestsum/Makefile  | 18 ++++++++++++++++++
 devel/gotestsum/distinfo  |  5 +++++
 devel/gotestsum/pkg-descr |  5 +++++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index e1a8f69df0c3..bc5cb81dc725 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -935,6 +935,7 @@
     SUBDIR += gorm
     SUBDIR += goswagger
     SUBDIR += got
+    SUBDIR += gotestsum
     SUBDIR += gpds
     SUBDIR += gperf
     SUBDIR += gprbuild
diff --git a/devel/gotestsum/Makefile b/devel/gotestsum/Makefile
new file mode 100644
index 000000000000..93cd3ee50869
--- /dev/null
+++ b/devel/gotestsum/Makefile
@@ -0,0 +1,18 @@
+PORTNAME=	gotestsum
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.12.3
+CATEGORIES=	devel
+
+MAINTAINER=	adamw@FreeBSD.org
+COMMENT=	Go test runner with output for humans and CI
+WWW=		https://github.com/gotestyourself/gotestsum
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+GO_MODULE=	github.com/gotestyourself/gotestsum
+
+PLIST_FILES=	bin/gotestsum
+
+.include <bsd.port.mk>
diff --git a/devel/gotestsum/distinfo b/devel/gotestsum/distinfo
new file mode 100644
index 000000000000..e621abda1e72
--- /dev/null
+++ b/devel/gotestsum/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1755615589
+SHA256 (go/devel_gotestsum/gotestsum-v1.12.3/v1.12.3.mod) = f81e03c518a0af15594245c050274007bb9a81c4960273890be887e72a1d3aee
+SIZE (go/devel_gotestsum/gotestsum-v1.12.3/v1.12.3.mod) = 608
+SHA256 (go/devel_gotestsum/gotestsum-v1.12.3/v1.12.3.zip) = 74fb757cdaa7711cdc5e3ed38658f0b67d76b56c870ba45a70ed830acd0f7600
+SIZE (go/devel_gotestsum/gotestsum-v1.12.3/v1.12.3.zip) = 184119
diff --git a/devel/gotestsum/pkg-descr b/devel/gotestsum/pkg-descr
new file mode 100644
index 000000000000..e60181bfcc43
--- /dev/null
+++ b/devel/gotestsum/pkg-descr
@@ -0,0 +1,5 @@
+gotestsum runs tests using go test -json, prints formatted test output,
+and a summary of the test run. It is designed to work well for both
+local development, and for automation like CI.
+
+It's `go test`, but just better.