Commit graph

22 commits

Author SHA1 Message Date
Michael Miller
1ea209184e
Formatting 2021-05-12 21:41:56 -06:00
Michael Miller
ff084bb3cd
Fix dumb mistakes 2021-05-12 21:40:48 -06:00
Michael Miller
ff5d855389
Cleanup harness some 2021-05-06 22:10:40 -06:00
Michael Miller
02b98ea61b
Remove reference to example from result
Pass examples instead of results into formatters.
2021-04-26 18:47:11 -06:00
Michael Miller
0332b6eb3b
Log when deferred operations run 2021-01-30 21:07:42 -07:00
Michael Miller
e44505d4c1
Set nameless example to matcher description 2021-01-30 21:00:01 -07:00
Michael Miller
82e13f5434
Sloppily handle deferred operations 2021-01-30 20:53:09 -07:00
Michael Miller
9743f37e5c
Capture reported expectations 2021-01-30 20:07:45 -07:00
Michael Miller
9d139dfeed
Hack together result output 2021-01-30 19:42:46 -07:00
Michael Miller
3b5086c74b
Re-add mocks to harness 2021-01-30 17:27:02 -07:00
Michael Miller
a8840351d5
More work hooking up expectations 2021-01-21 00:03:57 -07:00
Michael Miller
0992bad7eb
Get harness compiling again 2021-01-16 11:03:05 -07:00
Michael Miller
4230ec70a0
Move test handling code to Harness 2020-11-07 20:56:30 -07:00
Michael Miller
88ed415191 Bubble up matcher description
The last run matcher's description is used if one wasn't provided by the 
user.
Only applies to examples that actually run and have expectations.
2020-01-02 19:19:55 -07:00
Michael Miller
763c99f338 Formatting 2019-11-14 18:48:43 -07:00
Michael Miller
28ec1062e8 Merge branch 'release/0.9' into dev/mocks-and-doubles 2019-11-14 18:47:25 -07:00
Michael Miller
2128184659 Implement defer logic in harness 2019-11-14 18:30:48 -07:00
Michael Miller
d2e27d1e6e Pass test context to registry 2019-11-10 13:08:43 -07:00
Michael Miller
14876a8e9a Add default stubs to TestContext
Pass default stubs into mocks registry on example startup.
2019-11-10 12:35:03 -07:00
Michael Miller
11ea7bf2ce Move mock containment to harness 2019-11-09 23:22:21 -07:00
Michael Miller
8c180e818f Merge remote-tracking branch 'origin/release/0.9' into mocks-and-doubles 2019-09-27 14:12:29 -06:00
Michael Miller
7e6080aa5f Move harness out of internals 2019-09-26 15:11:54 -06:00
Renamed from src/spectator/internals/harness.cr (Browse further)