Add a new example: testing
This commit is contained in:
18
examples/testing/main_test.sh
Normal file
18
examples/testing/main_test.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
# Run all tests in the current project in verbose mode.
|
||||
$ go test -v
|
||||
== RUN TestIntMinBasic
|
||||
--- PASS: TestIntMinBasic (0.00s)
|
||||
=== RUN TestIntMinTableDriven
|
||||
=== RUN TestIntMinTableDriven/0,1
|
||||
=== RUN TestIntMinTableDriven/1,0
|
||||
=== RUN TestIntMinTableDriven/2,-2
|
||||
=== RUN TestIntMinTableDriven/0,-1
|
||||
=== RUN TestIntMinTableDriven/-1,0
|
||||
--- PASS: TestIntMinTableDriven (0.00s)
|
||||
--- PASS: TestIntMinTableDriven/0,1 (0.00s)
|
||||
--- PASS: TestIntMinTableDriven/1,0 (0.00s)
|
||||
--- PASS: TestIntMinTableDriven/2,-2 (0.00s)
|
||||
--- PASS: TestIntMinTableDriven/0,-1 (0.00s)
|
||||
--- PASS: TestIntMinTableDriven/-1,0 (0.00s)
|
||||
PASS
|
||||
ok examples/testing 0.023s
|
||||
Reference in New Issue
Block a user