testshard

command
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Command testshard runs one test package as several processes of a single compiled test binary, so a package of serial tests finishes in the time of its slowest shard; each process keeps its own globals, which is what t.Setenv, t.Chdir, a swapped os.Stdout and a daemon stopped by SIGINT to its own pid all need, and what t.Parallel cannot give them.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL