go-test-timesort

command module
v0.0.0-...-128e968 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2015 License: MIT Imports: 7 Imported by: 0

README

go-test-timesort

go-test-timesort sorts go-test combined output by running time.

Note: maybe go-test can do this? writing this was faster than checking docs. that's how cool golang + stdlib is.

Install:

go get github.com/jbenet/go-test-timesort

Use:

> go test ./... | go-test-timesort
ok    github.com/jbenet/go-ipfs/blocks  0.016s
ok    github.com/jbenet/go-ipfs/pin 0.016s
ok    github.com/jbenet/go-ipfs/p2p/crypto/secio  0.014s
ok    github.com/jbenet/go-ipfs/util/eventlog 0.013s
ok    github.com/jbenet/go-ipfs/blocks/bloom  0.012s
ok    github.com/jbenet/go-ipfs/routing/keyspace  0.008s
?     github.com/jbenet/go-ipfs [no test files]
?     github.com/jbenet/go-ipfs/blocks/blocksutil [no test files]

Documentation

Overview

go-test-timesort sorts `go-test` combined output by running time.

Note: maybe go-test can do this? writing this was faster than checking docs. that's how cool golang + stdlib is.

Install:

go get github.com/jbenet/go-test-timesort

Use:

> go test ./... | go-test-timesort
ok    github.com/jbenet/go-ipfs/blocks  0.016s
ok    github.com/jbenet/go-ipfs/pin 0.016s
ok    github.com/jbenet/go-ipfs/p2p/crypto/secio  0.014s
ok    github.com/jbenet/go-ipfs/util/eventlog 0.013s
ok    github.com/jbenet/go-ipfs/blocks/bloom  0.012s
ok    github.com/jbenet/go-ipfs/routing/keyspace  0.008s
?     github.com/jbenet/go-ipfs [no test files]
?     github.com/jbenet/go-ipfs/blocks/blocksutil [no test files]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL