go.testing
1.26.10.1
dotnet add package go.testing --version 1.26.10.1
NuGet\Install-Package go.testing -Version 1.26.10.1
<PackageReference Include="go.testing" Version="1.26.10.1" />
<PackageVersion Include="go.testing" Version="1.26.10.1" />
<PackageReference Include="go.testing" />
paket add go.testing --version 1.26.10.1
#r "nuget: go.testing, 1.26.10.1"
#:package go.testing@1.26.10.1
#addin nuget:?package=go.testing&version=1.26.10.1
#tool nuget:?package=go.testing&version=1.26.10.1
go.testing
Hand-implemented C# counterpart of the Go standard library's
testingpackage, by go2cs.
From C#, call this package through the static class go.testing_package; see Consuming converted Go from C#.
Package testing provides support for automated testing of Go packages. This is the go2cs test host: a hand-maintained implementation of the testing API — T, B, F, TB, subtests, parallelism, TempDir with Go-faithful os.RemoveAll cleanup semantics, Setenv, package deadlines — that runs converted _test.go suites and compares their verdicts one-for-one against a clean go test -json baseline. Every validated package's proof page on go2cs.net/validation was produced under this host.
This package is a hand-maintained implementation of the Go standard library's testing API rather than converted Go source — hand-owning the test host is what keeps one testing package shared by every converted test project. The go2cs implementation is distributed under the same BSD-3-Clause license as the converted standard library, which can be found in the LICENSE file.
Artwork licensed under Creative Commons Attribution 3.0; see artwork attribution.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- go.context (>= 1.26.10.1)
- go.fmt (>= 1.26.10.1)
- go.internal.testlog (>= 1.26.10.1)
- go.lib (>= 1.26.10.1)
- go.os (>= 1.26.10.1)
- go.time (>= 1.26.10.1)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on go.testing:
| Package | Downloads |
|---|---|
|
go.internal.testenv
internal.testenv (net10.0 - Release) -- C# project converted from Go source |
|
|
go.vendor.golang.org.x.net.nettest
vendor.golang.org.x.net.nettest (net10.0 - Release) -- C# project converted from Go source |
|
|
go.testing.slogtest
testing.slogtest (net10.0 - Release) -- C# project converted from Go source |
|
|
go.internal.trace.testtrace
internal.trace.testtrace (net10.0 - Release) -- C# project converted from Go source |
|
|
go.crypto.internal.cryptotest
crypto.internal.cryptotest (net10.0 - Release) -- C# project converted from Go source |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.26.10.1 | 75 | 10/26/2026 |
| 1.24.13.7 | 123 | 10/14/2026 |
| 1.24.13.6 | 117 | 10/12/2026 |
| 1.24.13.5 | 127 | 10/9/2026 |
| 1.24.13.4 | 124 | 10/6/2026 |
| 1.24.13.3 | 134 | 10/2/2026 |
| 1.24.13.2 | 136 | 9/24/2026 |
| 1.24.13.1 | 131 | 9/24/2026 |
| 1.23.12.3 | 152 | 9/8/2026 |
| 1.23.12.2 | 152 | 8/29/2026 |
| 1.23.12.1 | 160 | 8/26/2026 |
| 1.23.1.7 | 187 | 8/23/2026 |
| 1.23.1.6 | 173 | 8/11/2026 |
| 1.23.1.5 | 163 | 8/9/2026 |
| 1.23.1.4 | 174 | 8/8/2026 |
| 1.23.1.3 | 130 | 8/4/2026 |
| 1.23.1.2 | 125 | 7/27/2026 |
| 1.23.1.1 | 199 | 7/14/2026 |