Michael Miller
|
2aa7a75eea
|
Implement remaining hook error tests
|
2018-12-07 22:05:23 -07:00 |
|
Michael Miller
|
99de2335aa
|
More tests for exceptions in hooks
|
2018-12-07 17:02:53 -07:00 |
|
Michael Miller
|
e87f0b5e64
|
Ability to pass custom hooks to SpyExample
|
2018-12-07 17:02:07 -07:00 |
|
Michael Miller
|
f20a0e2241
|
Formatting
|
2018-12-05 20:27:31 -07:00 |
|
Michael Miller
|
2ce599d6a4
|
Some initial work on runnable example tests
|
2018-12-05 20:25:11 -07:00 |
|
Michael Miller
|
06230f128d
|
Add example for producing errors
|
2018-12-05 20:25:11 -07:00 |
|
Michael Miller
|
712aa99fed
|
Adjust tests to use new hook methods
|
2018-12-05 20:21:19 -07:00 |
|
Michael Miller
|
bd4d020d0f
|
Condense visible hook methods
|
2018-12-05 19:57:14 -07:00 |
|
Michael Miller
|
e0f5862960
|
Add missing proc call
|
2018-11-26 14:27:32 -07:00 |
|
Michael Miller
|
3207b7c8d2
|
Add tests for hooks
|
2018-11-26 14:21:43 -07:00 |
|
Michael Miller
|
1193fdc8ff
|
Add spec for PendingExample
|
2018-11-26 14:01:15 -07:00 |
|
Michael Miller
|
bd8df38ecd
|
Docs for RootExampleGroup
|
2018-11-23 23:54:54 -07:00 |
|
Michael Miller
|
b414438627
|
Add spec for RootExampleGroup
|
2018-11-23 11:20:28 -07:00 |
|
Michael Miller
|
d117f487a3
|
Implement remaining tests
|
2018-11-20 20:56:33 -07:00 |
|
Michael Miller
|
e1501c3416
|
Some tests for NestedExampleGroup
|
2018-11-20 16:34:48 -07:00 |
|
Michael Miller
|
c68cd7e16a
|
Move example hooks helper methods to their own file
|
2018-11-20 14:51:11 -07:00 |
|
Michael Miller
|
fad3eba11f
|
Add docs for NestedExampleGroup
|
2018-11-20 14:04:14 -07:00 |
|
Michael Miller
|
7517042195
|
Add spec for ExpectationFailed
|
2018-11-20 12:55:37 -07:00 |
|
Michael Miller
|
b8ee29ab0e
|
Formatting
|
2018-11-20 12:48:19 -07:00 |
|
Michael Miller
|
1802f27f68
|
Add spec for ExampleIterator
|
2018-11-20 12:47:55 -07:00 |
|
Michael Miller
|
c7963b70a3
|
Add docs for ExampleIterator
|
2018-11-20 11:51:47 -07:00 |
|
Michael Miller
|
f3feabb6e0
|
Reduce nesting of conditionals
|
2018-11-19 23:46:14 -07:00 |
|
Michael Miller
|
101489ea19
|
Add spec for ExampleHooks
|
2018-11-19 22:51:59 -07:00 |
|
Michael Miller
|
d576e4a1fa
|
Missing # prefix for #to_not and #not_to
|
2018-11-19 22:00:45 -07:00 |
|
Michael Miller
|
ee274dbebd
|
Add docs for ExampleGroup
|
2018-11-19 21:52:10 -07:00 |
|
Michael Miller
|
e79d8872ac
|
Cleanup indexer code
|
2018-11-19 19:41:51 -07:00 |
|
Michael Miller
|
072055d947
|
Change test wrapper to a struct
|
2018-11-17 00:14:14 -07:00 |
|
Michael Miller
|
d52be1ec50
|
Add docs for ExampleHooks
|
2018-11-16 13:56:43 -07:00 |
|
Michael Miller
|
05c3a75683
|
Add specs for result types
|
2018-11-16 11:39:07 -07:00 |
|
Michael Miller
|
ee2491fef8
|
Down-cast to preven type issues when inferring arrays
|
2018-11-16 11:38:50 -07:00 |
|
Michael Miller
|
c045305bd2
|
Add docs for result types
|
2018-11-16 09:48:35 -07:00 |
|
Michael Miller
|
195e34d360
|
Add tests for #to and #to_not
|
2018-11-14 13:10:42 -07:00 |
|
Michael Miller
|
49deb96a11
|
Capture harness in spy example
|
2018-11-14 12:58:32 -07:00 |
|
Michael Miller
|
4a531bd83f
|
Move PassingExample to its own file
Missed this one when moving code around before.
|
2018-11-14 12:55:21 -07:00 |
|
Michael Miller
|
f0204a32ea
|
Fix specs to work with new Expectation type
|
2018-11-14 02:15:55 -07:00 |
|
Michael Miller
|
35b59854ec
|
Move #eval to partial
|
2018-11-13 21:44:56 -07:00 |
|
Michael Miller
|
a3ac50d661
|
Update harness to match recent changes
|
2018-11-13 21:44:25 -07:00 |
|
Michael Miller
|
a66262d197
|
Rename ExpectationResults to ExampleExpectations
Update to use new Expectation type.
|
2018-11-13 15:59:51 -07:00 |
|
Michael Miller
|
b625cb69cf
|
Adopt partials to use new Expectation type
|
2018-11-13 14:17:37 -07:00 |
|
Michael Miller
|
718f24aef3
|
Adopt ValueMatcher to new Expectation type
|
2018-11-13 14:11:51 -07:00 |
|
Michael Miller
|
06ced9f799
|
Change Expectation to store the result
This removes Expectation::Result and uses Expectation and sub-types
instead.
Having two "Result" types is confusing.
|
2018-11-13 14:08:27 -07:00 |
|
Michael Miller
|
e38747eafd
|
Formatting
|
2018-11-13 10:08:56 -07:00 |
|
Michael Miller
|
6c882f9cae
|
Remove ExampleGroup#all_examples
Implement the same functionality with ExampleIterator.
|
2018-11-13 10:08:37 -07:00 |
|
Michael Miller
|
b5a18ad324
|
Implement example iterator
|
2018-11-13 10:06:43 -07:00 |
|
Michael Miller
|
66dcc21383
|
Move helper methods and classes to their own directory
|
2018-11-09 11:20:30 -07:00 |
|
Michael Miller
|
0e1d87d8d4
|
Add docs for #it and #pending
|
2018-11-08 22:40:01 -07:00 |
|
Michael Miller
|
45230f3e67
|
Add docs for before, after, and around hooks
|
2018-11-08 13:31:50 -07:00 |
|
Michael Miller
|
cbfd14a88f
|
Add docs for #subject, #let, and #let!
|
2018-11-08 11:29:51 -07:00 |
|
Michael Miller
|
e480901cdc
|
Note about nested #given blocks
Remove unused and empty type method.
Crystal syntax doesn't allow methods where a generic type is expected.
|
2018-11-07 13:03:48 -07:00 |
|
Michael Miller
|
013f799c5e
|
Remove #include_examples placeholder
Will be re-added when it is implemented.
|
2018-11-07 12:58:47 -07:00 |
|