A Go test execution wrapper that parallelizes test execution for improved performance.
Paratest is designed to work with go test -exec
to automatically parallelize test execution when beneficial. It analyzes test packages and only applies parallelization when it will improve performance without breaking existing parallel test patterns. This pattern can be useful for parallelizing tests which are difficult to run in parallel in a single binary (e.g. tests which rely on OS signals). This type of test running parallelism is useful for Delve tests in particular those found in the ./pkg/proc
directory.
go install github.com/go-delve/paratest@latest
Use paratest as an execution wrapper with go test
:
go test -exec paratest
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Ensure all tests pass:
go test -v
- Submit a pull request
MIT