Commit graph

28 commits

Author SHA1 Message Date
Michael Miller
c1f61d68bf Use MatchData 2019-02-26 20:29:04 -07:00
Michael Miller
919e2b96f6 Update specs for new Result#call functionality 2019-02-20 21:17:27 -07:00
Michael Miller
6cc3c5e20b Add tests for adding/omitting the space in #to_s 2019-02-17 17:03:57 -07:00
Michael Miller
fe083b0f74 Update specs to handle and test symbolic components 2019-02-17 16:39:23 -07:00
Michael Miller
6a8d447570 Add tests for Result#call implementations 2019-02-17 14:40:05 -07:00
Michael Miller
ed01a95e67 Replace source file and line with source struct 2019-02-17 12:40:16 -07:00
Michael Miller
1507a447c8 Update specs to use new source arguments
Used `new_partial` where the underlying partial didn't matter for the
test.
2019-02-14 17:04:59 -07:00
Michael Miller
36c98db0ae Update spec helpers to have source information 2019-02-14 15:41:59 -07:00
Michael Miller
577877e067 Add spec for runner
Added a spy for detecting when formatter methods are called.
2019-02-12 16:10:14 -07:00
Michael Miller
50bc1af816 Method for creating groups of spy examples 2019-02-12 13:45:19 -07:00
Michael Miller
ff4e148509 Rename ValueExpectation to Expectation in tests 2019-01-31 13:30:09 -07:00
Michael Miller
ac08806010 Add spec for RangeMatcher 2019-01-25 13:12:34 -07:00
Michael Miller
f09aaf59e6 Formatting 2019-01-23 21:11:01 -07:00
Michael Miller
73c4334246 Use macros to create methods for all watched operators 2019-01-23 21:02:32 -07:00
Michael Miller
37c45eb285 Shorten pre and post usage 2019-01-23 14:46:15 -07:00
Michael Miller
a32b511e0b Add spec for match (regex) matcher 2019-01-19 14:49:13 -07:00
Michael Miller
f2569ea3a0 Add spec for be matcher 2019-01-19 13:50:57 -07:00
Michael Miller
db89a99562 Add specs for ExampleConditions 2019-01-17 14:14:10 -07:00
Michael Miller
d9363fc8a7 Update existing specs to support conditions 2019-01-11 10:09:40 -07:00
Michael Miller
191eb02cbe Add dummy instance values 2019-01-01 17:06:24 -07:00
Michael Miller
e87f0b5e64 Ability to pass custom hooks to SpyExample 2018-12-07 17:02:07 -07:00
Michael Miller
06230f128d Add example for producing errors 2018-12-05 20:25:11 -07:00
Michael Miller
c68cd7e16a Move example hooks helper methods to their own file 2018-11-20 14:51:11 -07:00
Michael Miller
ee2491fef8 Down-cast to preven type issues when inferring arrays 2018-11-16 11:38:50 -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