Skip to content

Go test runner for parallelizing tests which can't take advantage of t.Parallel(). Meant to be used in conjunction with `go test -exec`.

License

Notifications You must be signed in to change notification settings

go-delve/paratest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Paratest

A Go test execution wrapper that parallelizes test execution for improved performance.

Overview

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.

Installation

go install github.com/go-delve/paratest@latest

Usage

Use paratest as an execution wrapper with go test:

go test -exec paratest

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Add tests for new functionality
  4. Ensure all tests pass: go test -v
  5. Submit a pull request

License

MIT

About

Go test runner for parallelizing tests which can't take advantage of t.Parallel(). Meant to be used in conjunction with `go test -exec`.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages