Skip to content

Instantly share code, notes, and snippets.

@thislooksfun
Created May 16, 2015 20:19
Show Gist options
  • Save thislooksfun/cc4a85d23eeb6e5cbc6e to your computer and use it in GitHub Desktop.
Save thislooksfun/cc4a85d23eeb6e5cbc6e to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
~/Desktop/vidr/src/github.com/thislooksfun/goblin => for i in {1..1000}; do echo "Iteration #$i"; go test -v; done; say done
Iteration #1
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (408 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #2
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #3
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #4
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (408 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.466s
Iteration #5
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (407 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.468s
Iteration #6
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.460s
Iteration #7
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (409 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xcdcd0ac754adfb01)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.429s
Iteration #8
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (3 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (7 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (409 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.471s
Iteration #9
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #10
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (407 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.465s
Iteration #11
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.461s
Iteration #12
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (3 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #13
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #14
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.465s
Iteration #15
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #16
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (409 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.468s
Iteration #17
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (405 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.464s
Iteration #18
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (409 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.468s
Iteration #19
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (3 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #20
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x50d06e8d9e8a7701)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.430s
Iteration #21
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (404 ms)
--- PASS: TestAsync (0.40s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.461s
Iteration #22
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (407 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.467s
Iteration #23
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #24
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.466s
Iteration #25
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #26
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (412 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.469s
Iteration #27
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.461s
Iteration #28
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.464s
Iteration #29
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (405 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xfc315fe1780bf01)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.422s
Iteration #30
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (6 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.469s
Iteration #31
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (408 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #32
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (405 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x7881a2a1571f3201)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.426s
Iteration #33
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.460s
Iteration #34
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.464s
Iteration #35
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (1 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #36
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (407 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.463s
Iteration #37
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (3 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (6 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x8379fc8065595001)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.431s
Iteration #38
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #39
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (408 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5280, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x3c3e316347a9b001)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.426s
Iteration #40
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x67e5ce7fd0b8c701)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.427s
Iteration #41
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (407 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.468s
Iteration #42
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #43
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #44
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.460s
Iteration #45
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (412 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.469s
Iteration #46
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (408 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #47
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #48
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.465s
Iteration #49
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (413 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.472s
Iteration #50
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (405 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.464s
Iteration #51
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (3 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (404 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x22486146af08a301)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.424s
Iteration #52
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.468s
Iteration #53
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #54
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (408 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #55
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (407 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.467s
Iteration #56
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #57
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.460s
Iteration #58
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (412 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xa0b56427c7295c01)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.429s
Iteration #59
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #60
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #61
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (405 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xead070bdc9f64e01)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.424s
Iteration #62
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #63
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (408 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.464s
Iteration #64
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.464s
Iteration #65
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #66
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (6 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.470s
Iteration #67
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.466s
Iteration #68
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.468s
Iteration #69
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.469s
Iteration #70
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #71
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (409 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.469s
Iteration #72
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.470s
Iteration #73
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.470s
Iteration #74
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (414 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.468s
Iteration #75
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (1 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #76
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #77
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #78
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (411 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.470s
Iteration #79
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (412 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #80
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #81
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.464s
Iteration #82
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #83
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #84
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (411 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.473s
Iteration #85
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.459s
Iteration #86
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #87
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (3 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.468s
Iteration #88
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #89
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #90
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #91
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.461s
Iteration #92
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.468s
Iteration #93
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (6 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.472s
Iteration #94
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.469s
Iteration #95
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (6 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.465s
Iteration #96
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.469s
Iteration #97
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.461s
Iteration #98
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (412 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.471s
Iteration #99
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #100
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (3 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (405 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.463s
Iteration #101
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (408 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.469s
Iteration #102
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (412 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #103
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (408 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.464s
Iteration #104
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.461s
Iteration #105
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (405 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xd89de3b523e3b601)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.423s
Iteration #106
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.464s
Iteration #107
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #108
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #109
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (405 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.463s
Iteration #110
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (407 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x7d91c34513dec101)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.424s
Iteration #111
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (412 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xb1bc345bced3af01)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.430s
Iteration #112
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (407 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x53345e1b0ee9e401)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.424s
Iteration #113
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #114
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.468s
Iteration #115
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.468s
Iteration #116
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #117
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.468s
Iteration #118
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (408 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #119
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #120
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.466s
Iteration #121
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.461s
Iteration #122
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #123
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xcc5d264d2199a801)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.424s
Iteration #124
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (407 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.467s
Iteration #125
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xe53853ffc9f77901)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.425s
Iteration #126
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xa3032078b73ce901)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.429s
Iteration #127
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x8d59041a84504a01)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.427s
Iteration #128
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (410 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.470s
Iteration #129
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.464s
Iteration #130
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (411 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.42s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.471s
Iteration #131
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #132
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.464s
Iteration #133
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (408 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #134
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.470s
Iteration #135
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (23 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #136
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (408 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #137
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (411 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.468s
Iteration #138
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (413 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.470s
Iteration #139
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.461s
Iteration #140
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.459s
Iteration #141
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (6 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.468s
Iteration #142
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (404 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.463s
Iteration #143
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (406 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0xe3f07f7dc9fc4c01)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.424s
Iteration #144
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (26 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.467s
Iteration #145
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (409 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.466s
Iteration #146
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (409 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x62a7e]
goroutine 87 [running]:
github.com/thislooksfun/goblin.(*G).Fail(0x2082c5300, 0x119180, 0x2082c0570)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:326 +0x1ee
github.com/thislooksfun/goblin.func·002(0x0, 0x0, 0x0)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:217 +0xf8
github.com/thislooksfun/goblin.func·105()
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:237 +0x80
created by github.com/thislooksfun/goblin.func·106
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:238 +0xa6
goroutine 1 [runnable]:
testing.RunTests(0x1bf870, 0x2435c0, 0x24, 0x24, 0x327803a409084301)
/usr/local/go/src/testing/testing.go:556 +0xad6
testing.(*M).Run(0x2082ce0a0, 0x24b7a0)
/usr/local/go/src/testing/testing.go:485 +0x6c
main.main()
github.com/thislooksfun/goblin/_test/_testmain.go:122 +0x1d5
exit status 2
FAIL github.com/thislooksfun/goblin 0.429s
Iteration #147
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (4 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (6 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (408 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.472s
Iteration #148
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (414 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.42s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (25 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.474s
Iteration #149
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
1) Should fail if done has been called multiple times
4 tests complete (410 ms)
1 tests failed:
1) Async test Should fail if done has been called multiple times:
Expected test to fail, but it passed
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/resolver.go:9 (0x649ba)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:148 (0x607c6)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:84 (0x6026f)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin.go:32 (0x5fe64)
/Users/simon/Desktop/vidr/src/github.com/thislooksfun/goblin/goblin_test.go:240 (0x67e34)
/usr/local/go/src/testing/testing.go:447 (0x587ef)
--- FAIL: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
FAIL
exit status 1
FAIL github.com/thislooksfun/goblin 0.472s
Iteration #150
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (28 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.465s
Iteration #151
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (406 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (27 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #152
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (3 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (6 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (1 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (1 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (23 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #153
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (407 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.02s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.463s
Iteration #154
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (4 ms)
--- PASS: TestFailing (0.00s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes (0.00s)
=== RUN TestPending
Numbers
- Should add numbers
Substraction
- Should substract numbers
0 tests complete (0 ms)
2 test(s) pending
--- PASS: TestPending (0.00s)
=== RUN TestNotRunBeforesOrAfters
Numbers
Letters
0 tests complete (0 ms)
--- PASS: TestNotRunBeforesOrAfters (0.00s)
=== RUN TestFailOnError
Numbers
✓ Does something
1 tests complete (0 ms)
Errors
✓ Should fail with structs
2 tests complete (0 ms)
--- PASS: TestFailOnError (0.00s)
=== RUN TestFailImmediately
Errors
✓ Should fail immediately for sync test
✓ Should fail immediately for async test
2 tests complete (0 ms)
--- PASS: TestFailImmediately (0.00s)
=== RUN TestAsync
Async test
✓ Should fail when Fail is called immediately
✓ Should fail when fail is called
✓ Should fail if done receives a parameter
✓ Should pass when done is called
✓ Should fail if done has been called multiple times
5 tests complete (405 ms)
--- PASS: TestAsync (0.41s)
=== RUN TestTimeout
Test
Timedout
✓ Should fail if test exceeds the specified timeout with sync test
Timedout
✓ Should fail if test exceeds the specified timeout with async test
2 tests complete (24 ms)
--- PASS: TestTimeout (0.03s)
=== RUN TestBeforeEach
Numbers
✓ Should have called beforeEach
✓ Should have called beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestBeforeEach (0.00s)
=== RUN TestMultipleBeforeEach
Numbers
✓ Should have called all the registered beforeEach
1 tests complete (0 ms)
--- PASS: TestMultipleBeforeEach (0.00s)
=== RUN TestNestedBeforeEach
Numbers
Addition
✓ Should have called all the registered beforeEach
✓ Should have called all the registered beforeEach also for this one
2 tests complete (0 ms)
--- PASS: TestNestedBeforeEach (0.00s)
=== RUN TestAfterEach
Numbers
✓ Should call afterEach after this test
✓ Should have called afterEach before this test
2 tests complete (0 ms)
--- PASS: TestAfterEach (0.00s)
=== RUN TestMultipleAfterEach
Numbers
✓ Should call all the registered afterEach
1 tests complete (0 ms)
--- PASS: TestMultipleAfterEach (0.00s)
=== RUN TestNestedAfterEach
Numbers
Addition
✓ Should call all the registered afterEach
✓ Should have called all the registered aftearEach
2 tests complete (0 ms)
--- PASS: TestNestedAfterEach (0.00s)
=== RUN TestReporting
--- PASS: TestReporting (0.00s)
=== RUN TestReportingTime
--- PASS: TestReportingTime (0.01s)
=== RUN TestReportingPending
--- PASS: TestReportingPending (0.00s)
=== RUN TestReportingErrors
--- PASS: TestReportingErrors (0.00s)
=== RUN TestResolver
Resolver
✓ Should resolve the stack until the test
1 tests complete (0 ms)
--- PASS: TestResolver (0.00s)
PASS
ok github.com/thislooksfun/goblin 0.462s
Iteration #155
=== RUN TestEqual
--- PASS: TestEqual (0.00s)
=== RUN TestIsTrue
--- PASS: TestIsTrue (0.00s)
=== RUN TestIsFalse
--- PASS: TestIsFalse (0.00s)
=== RUN TestIsFalseWithMessage
--- PASS: TestIsFalseWithMessage (0.00s)
=== RUN TestIsTrueWithMessage
--- PASS: TestIsTrueWithMessage (0.00s)
=== RUN TestBefore
Numbers
✓ Should have called before
✓ Should have called before only once
2 tests complete (0 ms)
--- PASS: TestBefore (0.00s)
=== RUN TestMultipleBefore
Numbers
✓ Should have called all the registered before
1 tests complete (0 ms)
--- PASS: TestMultipleBefore (0.00s)
=== RUN TestNestedBefore
Numbers
Addition
✓ Should have called all the registered before
✓ Should have called all the registered before only once
2 tests complete (0 ms)
--- PASS: TestNestedBefore (0.00s)
=== RUN TestAfter
Numbers
✓ Should call after only once
✓ Should call after only once
2 tests complete (0 ms)
--- PASS: TestAfter (0.00s)
=== RUN TestMultipleAfter
Numbers
✓ Should call all the registered after
1 tests complete (0 ms)
--- PASS: TestMultipleAfter (0.00s)
=== RUN TestNestedAfter
Numbers
Addition
✓ Should call all the registered after
✓ Should have called all the registered after only once
2 tests complete (0 ms)
--- PASS: TestNestedAfter (0.00s)
=== RUN TestCatching
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatching (0.00s)
=== RUN TestCatchingAsync
Catching
✓ No panic
✓ Expected panic
✓ Fail on no expected panic
✓ Fail on unexpected panic
4 tests complete (0 ms)
--- PASS: TestCatchingAsync (0.00s)
=== RUN TestWorking
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (0 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (0 ms)
--- PASS: TestWorking (0.00s)
=== RUN TestFailing
Normal
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
5 tests complete (2 ms)
Not
✓ Eql
✓ IsTrue
✓ IsFalse
✓ IsOK
✓ IsType
10 tests complete (5 ms)
--- PASS: TestFailing (0.01s)
=== RUN TestAddNumbersSucceed
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersSucceed (0.00s)
=== RUN TestAddNumbersFails
Numbers
✓ Should add numbers
1 tests complete (0 ms)
--- PASS: TestAddNumbersFails (0.00s)
=== RUN TestMultipleIts
Numbers
✓ Should add numbers
✓ Should add numbers
2 tests complete (0 ms)
--- PASS: TestMultipleIts (0.00s)
=== RUN TestMultipleDescribes
Numbers
Addition
✓ Should add numbers
Substraction
✓ Should substract numbers
2 tests complete (0 ms)
--- PASS: TestMultipleDescribes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment