From f7b279db1134c94e0f8442fc99af465ee0c48af1 Mon Sep 17 00:00:00 2001 From: William Martin Date: Mon, 14 Oct 2024 14:35:35 +0200 Subject: [PATCH] Correct testscript description in Acceptance readme --- acceptance/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acceptance/README.md b/acceptance/README.md index 4160f5e6d..1a7f6a93d 100644 --- a/acceptance/README.md +++ b/acceptance/README.md @@ -1,6 +1,6 @@ ## Acceptance Tests -The acceptance tests are blackbox* tests that are expected to interact with resources on a real GitHub instance. They are built on top of [`go-internal/testscript` module](https://pkg.go.dev/github.com/rogpeppe/go-internal/testscript), which supports a variety of commands for defining filesystem-based tests. +The acceptance tests are blackbox* tests that are expected to interact with resources on a real GitHub instance. They are built on top of the [`go-internal/testscript`](https://pkg.go.dev/github.com/rogpeppe/go-internal/testscript) package, which provides a framework for building tests for command line tools. *Note: they aren't strictly blackbox because `exec gh` commands delegate to a binary set up by `testscript` that calls into `ghcmd.Main`. However, since our real `func main` is an extremely thin adapter over `ghcmd.Main`, this is reasonable. This tradeoff avoids us building the binary ourselves for the tests, and allows us to get code coverage metrics.