Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages