Skip to content
GitHub no longer supports this web browser. Learn more about the browsers we support.
A simple test runner for go that watches directory tree for changes and runs tests for changed go packages.
Go
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/testrunner
README.md
debouncer.go
debouncer_test.go
go.mod
go.sum
testrunner.go
testrunner_test.go

README.md

testrunner

testrunner is a simple test runner for Go. In order to use it just run in in the root dir of a Go project -- it will detect changes to any *.go files in the directory subtree and automatically run the go test -race [package] command for the package with changed code.

Features

  • automatically detects directory tree changes (added/deleted directories)
  • runs only on changes to .go files
  • debounces in case of quick writes in the same directory

TODO

  • configuration (verbose mode?, configurable root directory?)
You can’t perform that action at this time.