Discover Packages
codeberg.org/askii23/testiki
internal
runner
package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Apr 8, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Run executes `go test` and sends parsed events to the returned channel.
The channel is closed when the process finishes or ctx is cancelled.
cancel() must be called by the caller to release resources.
Config holds test run configuration
type TestEvent struct {
Time time .Time `json:"Time"`
Action string `json:"Action"`
Package string `json:"Package"`
Test string `json:"Test"`
Elapsed float64 `json:"Elapsed"`
Output string `json:"Output"`
}
TestEvent is a single event from `go test -json`
Source Files
¶
Click to show internal directories.
Click to hide internal directories.