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
|
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
|
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
|
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
|
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
|
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
|
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
|
66dcc21383
|
Move helper methods and classes to their own directory
|
2018-11-09 11:20:30 -07:00 |
|
Michael Miller
|
2f525d49ef
|
Add spec for GivenExampleGroupBuilder
|
2018-11-02 20:17:59 -06:00 |
|
Michael Miller
|
14ee762ad7
|
Add test for value of "what"
Minor changes to remove unused parts.
|
2018-11-02 18:23:04 -06:00 |
|
Michael Miller
|
c8609ab609
|
Formatting
|
2018-11-02 15:35:57 -06:00 |
|
Michael Miller
|
7ce732a828
|
Add spec for NestedExampleGroupBuilder
|
2018-11-02 15:35:50 -06:00 |
|
Michael Miller
|
1657518deb
|
Add spec for RootExampleGroupBuilder
|
2018-11-02 15:28:51 -06:00 |
|
Michael Miller
|
ffdc0c40ac
|
Add spec for ExampleFactory
|
2018-11-01 20:25:38 -06:00 |
|
Michael Miller
|
8e7f5cf82b
|
Capture sample values for tests
|
2018-11-01 20:23:28 -06:00 |
|
Michael Miller
|
29219c8b8c
|
Formatting
|
2018-10-23 10:51:50 -06:00 |
|
Michael Miller
|
dbcf9ec57d
|
Add spec for TypedValueWrapper
|
2018-10-23 10:49:52 -06:00 |
|
Michael Miller
|
c711115023
|
Add spec for SampleValues
|
2018-10-23 10:42:18 -06:00 |
|
Michael Miller
|
3382084f03
|
Implement remaining harness specs
|
2018-10-22 10:49:42 -06:00 |
|
Michael Miller
|
5a4b4817b4
|
More tests for the harness
|
2018-10-21 08:10:59 -06:00 |
|
Michael Miller
|
4ab97bd215
|
Group children must be set
|
2018-10-20 22:56:24 -06:00 |
|
Michael Miller
|
16519db9bb
|
Rename #report_results to #generate_results
|
2018-10-20 20:13:47 -06:00 |
|
Michael Miller
|
2992a18992
|
Some initial specs for the harness
|
2018-10-19 20:30:27 -06:00 |
|
Michael Miller
|
36071fcdbf
|
Sanity check on expectations
|
2018-10-19 18:20:42 -06:00 |
|
Michael Miller
|
67e192edc6
|
Implement ExpectationResults specs and fix typo
|
2018-10-19 16:27:59 -06:00 |
|
Michael Miller
|
703a791f78
|
Formatting changes
|
2018-10-19 14:02:27 -06:00 |
|
Michael Miller
|
1064444f15
|
DRY up code by adding expectation helper methods
|
2018-10-19 13:54:32 -06:00 |
|
Michael Miller
|
440a2c6643
|
Structure for ExpectationResults spec
|
2018-10-19 13:28:44 -06:00 |
|
Michael Miller
|
7d08d38659
|
Add specs for ExpectationReporter
There is currently a segfault with this test code.
The issue will be addressed in the next commit.
|
2018-10-19 13:03:13 -06:00 |
|
Michael Miller
|
15ac60b17b
|
Remove unecessary #to_s calls
|
2018-10-19 11:01:22 -06:00 |
|
Michael Miller
|
7f4690b042
|
Secondary initializer for missing label
Label is set to actual/expected stringified value if omitted.
|
2018-10-18 21:52:00 -06:00 |
|
Michael Miller
|
9a77f8b7fd
|
Add specs for value expectation
Fix bug in expectation result actual message.
|
2018-10-18 17:54:43 -06:00 |
|
Michael Miller
|
bc66016c42
|
Add specs for equality matcher
|
2018-10-18 13:46:12 -06:00 |
|
Michael Miller
|
3196b724bf
|
Some initial specs for expectation partials
|
2018-10-15 15:45:32 -06:00 |
|
Michael Miller
|
c77a85c97a
|
Flag to disable running tests
This is needed for testing Spectator.
|
2018-10-15 00:32:29 -06:00 |
|
Michael Miller
|
630e537726
|
Initial commit
|
2018-08-18 15:33:20 -06:00 |
|