duh we want the verbose output
parent
31687f1014
commit
e7c4ebf7fd
@ -1,8 +1,24 @@
|
||||
.
|
||||
=== RUN TestOnce
|
||||
|
||||
Given some integer with a starting value
|
||||
When the integer is incremented
|
||||
The value should be greater by one ✔
|
||||
|
||||
|
||||
1 total assertion
|
||||
|
||||
..
|
||||
--- PASS: TestOnce (0.00s)
|
||||
=== RUN TestTwice
|
||||
|
||||
Given some integer with a starting value
|
||||
When the integer is incremented
|
||||
The value should be greater by one ✔
|
||||
When the integer is incremented again
|
||||
The value should be greater by one ✔
|
||||
|
||||
|
||||
3 total assertions
|
||||
|
||||
--- PASS: TestTwice (0.00s)
|
||||
PASS
|
||||
ok github.com/jordanorelli/tea/examples/incr 0.002s
|
||||
ok github.com/jordanorelli/tea/examples/incr 0.003s
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
go test 2>&1 | tee tea.output
|
||||
go test -tags std 2>&1 | tee std.output
|
||||
go test -tags convey 2>&1 | tee convey.output
|
||||
go test 2>&1 -v | tee tea.output
|
||||
go test -tags std -v 2>&1 | tee std.output
|
||||
go test -tags convey -v 2>&1 | tee convey.output
|
||||
|
@ -1,6 +1,14 @@
|
||||
=== RUN TestOnce
|
||||
=== RUN TestOnce/increment
|
||||
--- PASS: TestOnce (0.00s)
|
||||
--- PASS: TestOnce/increment (0.00s)
|
||||
=== RUN TestTwice
|
||||
=== RUN TestTwice/increment
|
||||
=== RUN TestTwice/increment#01
|
||||
TestTwice/increment#01: std_test.go:34: expected x to be 2, is 3 instead
|
||||
--- FAIL: TestTwice (0.00s)
|
||||
--- PASS: TestTwice/increment (0.00s)
|
||||
--- FAIL: TestTwice/increment#01 (0.00s)
|
||||
std_test.go:34: expected x to be 2, is 3 instead
|
||||
FAIL
|
||||
exit status 1
|
||||
FAIL github.com/jordanorelli/tea/examples/incr 0.002s
|
||||
FAIL github.com/jordanorelli/tea/examples/incr 0.001s
|
||||
|
@ -1,17 +1,49 @@
|
||||
--- FAIL: TestOnce (0.00s)
|
||||
--- FAIL: TestOnce/testInt (0.00s)
|
||||
tea_test.go:15: saving to future tests X = 1
|
||||
--- FAIL: TestOnce/testInt/testIncr (0.00s)
|
||||
tea_test.go:15: saving to future tests X = 1
|
||||
tea_test.go:24: loaded from parent tests X = 1
|
||||
tea_test.go:29: saving to future tests X = 2
|
||||
--- FAIL: TestOnce/testInt/testIncr/testIncr (0.00s)
|
||||
tea_test.go:15: saving to future tests X = 1
|
||||
tea_test.go:24: loaded from parent tests X = 1
|
||||
tea_test.go:29: saving to future tests X = 2
|
||||
tea_test.go:24: loaded from parent tests X = 1
|
||||
tea_test.go:27: expected X to be 3, is 2 instead
|
||||
tea_test.go:29: saving to future tests X = 2
|
||||
FAIL
|
||||
exit status 1
|
||||
FAIL github.com/jordanorelli/tea/examples/incr 0.002s
|
||||
=== RUN TestOnce
|
||||
=== RUN TestOnce/testInt
|
||||
TestOnce/testInt: tea_test.go:20: saving to future tests X = 1
|
||||
=== RUN TestOnce/testInt/testIncr
|
||||
TestOnce/testInt/testIncr: tea_test.go:20: saving to future tests X = 1
|
||||
TestOnce/testInt/testIncr: tea_test.go:33: loaded from parent tests X = 1
|
||||
TestOnce/testInt/testIncr: tea_test.go:38: saving to future tests X = 2
|
||||
--- PASS: TestOnce (0.00s)
|
||||
--- PASS: TestOnce/testInt (0.00s)
|
||||
--- PASS: TestOnce/testInt/testIncr (0.00s)
|
||||
=== RUN TestTwice
|
||||
=== RUN TestTwice/testInt
|
||||
TestTwice/testInt: tea_test.go:20: saving to future tests X = 1
|
||||
=== RUN TestTwice/testInt/testIncr
|
||||
TestTwice/testInt/testIncr: tea_test.go:20: saving to future tests X = 1
|
||||
TestTwice/testInt/testIncr: tea_test.go:33: loaded from parent tests X = 1
|
||||
TestTwice/testInt/testIncr: tea_test.go:38: saving to future tests X = 2
|
||||
=== RUN TestTwice/testInt/testIncr#01
|
||||
TestTwice/testInt/testIncr#01: tea_test.go:20: saving to future tests X = 1
|
||||
TestTwice/testInt/testIncr#01: tea_test.go:33: loaded from parent tests X = 1
|
||||
TestTwice/testInt/testIncr#01: tea_test.go:38: saving to future tests X = 2
|
||||
--- PASS: TestTwice (0.00s)
|
||||
--- PASS: TestTwice/testInt (0.00s)
|
||||
--- PASS: TestTwice/testInt/testIncr (0.00s)
|
||||
--- PASS: TestTwice/testInt/testIncr#01 (0.00s)
|
||||
=== RUN TestTwiceSeries
|
||||
=== RUN TestTwiceSeries/testInt
|
||||
TestTwiceSeries/testInt: tea_test.go:20: saving to future tests X = 1
|
||||
=== RUN TestTwiceSeries/testInt/testIncr
|
||||
TestTwiceSeries/testInt/testIncr: tea_test.go:20: saving to future tests X = 1
|
||||
TestTwiceSeries/testInt/testIncr: tea_test.go:33: loaded from parent tests X = 1
|
||||
TestTwiceSeries/testInt/testIncr: tea_test.go:38: saving to future tests X = 2
|
||||
=== RUN TestTwiceSeries/testInt/testIncr/testIncr
|
||||
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:20: saving to future tests X = 1
|
||||
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:33: loaded from parent tests X = 1
|
||||
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:38: saving to future tests X = 2
|
||||
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:33: loaded from parent tests X = 2
|
||||
TestTwiceSeries/testInt/testIncr/testIncr: tea_test.go:38: saving to future tests X = 3
|
||||
=== RUN TestTwiceSeries/testInt/testIncr#01
|
||||
TestTwiceSeries/testInt/testIncr#01: tea_test.go:20: saving to future tests X = 1
|
||||
TestTwiceSeries/testInt/testIncr#01: tea_test.go:33: loaded from parent tests X = 1
|
||||
TestTwiceSeries/testInt/testIncr#01: tea_test.go:38: saving to future tests X = 2
|
||||
--- PASS: TestTwiceSeries (0.00s)
|
||||
--- PASS: TestTwiceSeries/testInt (0.00s)
|
||||
--- PASS: TestTwiceSeries/testInt/testIncr (0.00s)
|
||||
--- PASS: TestTwiceSeries/testInt/testIncr/testIncr (0.00s)
|
||||
--- PASS: TestTwiceSeries/testInt/testIncr#01 (0.00s)
|
||||
PASS
|
||||
ok github.com/jordanorelli/tea/examples/incr 0.002s
|
||||
|
Loading…
Reference in New Issue