Commit graph

36 commits

Author SHA1 Message Date
Michael Miller
f7eeb2b2a3 Implement #described_class 2018-09-04 16:59:59 -06:00
Michael Miller
7ff91b4fc6 Rename "context" to "locals"
Remove possible confusion around variables (let and subject) and context
keyword.
2018-09-04 16:17:33 -06:00
Michael Miller
de55e31407 Add basics for tracking source code location 2018-09-04 13:36:19 -06:00
Michael Miller
b8dcf35165 Add report for suite results 2018-08-30 23:38:20 -06:00
Michael Miller
9d39bc80b1 Fix filename 2018-08-30 23:24:49 -06:00
Michael Miller
792bca99e5 Simplify rescue 2018-08-30 22:50:27 -06:00
Michael Miller
fb4dd9fd22 Fix default run order 2018-08-30 22:47:40 -06:00
Michael Miller
f4de0ffee9 Capture elapsed test time 2018-08-30 22:45:49 -06:00
Michael Miller
e38fddb12a Initial code for reporters 2018-08-30 22:21:10 -06:00
Michael Miller
aba9f50d58 Remove unused results 2018-08-30 21:57:44 -06:00
Michael Miller
9fb1a3b664 Add base classes for defining example run order 2018-08-30 21:32:13 -06:00
Michael Miller
c100651680 Handle errored and failing specs separately
An errored example is one that throws an exception that is not from an 
expectation failing.
2018-08-30 21:15:20 -06:00
Michael Miller
65b16f9031 Capture exception from failed specs 2018-08-30 21:10:36 -06:00
Michael Miller
3aa6ab7a10 Some initial work on spec runner 2018-08-30 21:07:14 -06:00
Michael Miller
cf789f54be Remove code for running examples
Preparing to add runner.
2018-08-30 15:55:20 -06:00
Michael Miller
6371fa5856 Cleanup feature checklist 2018-08-30 15:15:01 -06:00
Michael Miller
755921fa6f Update README with feature list and sample usage 2018-08-30 15:09:29 -06:00
Michael Miller
a65aedbfb7 Implement #to_not 2018-08-30 14:15:07 -06:00
Michael Miller
5eb5561e61 Rename Proxy to Wrapper 2018-08-30 14:07:46 -06:00
Michael Miller
a0fbc61244 Extraneous debug code 2018-08-30 14:03:29 -06:00
Michael Miller
e26fecd092 Fix let/subject not being passed to nested contexts 2018-08-30 14:02:18 -06:00
Michael Miller
24725c4f9d Top-level describe (Spectator.describe) missing module namespace 2018-08-30 13:29:11 -06:00
Michael Miller
aeb09b4e0d The #is_expected macro must be in example for visibility in #it 2018-08-28 16:44:21 -06:00
Michael Miller
b1d70453cf Implement #let! 2018-08-28 16:37:28 -06:00
Michael Miller
709b226f8e Implement #let functionality 2018-08-28 16:33:23 -06:00
Michael Miller
623033623a Add untyped ValueProxy base class 2018-08-25 18:36:32 -06:00
Michael Miller
0af4c2f54f Add lazy class 2018-08-25 18:25:21 -06:00
Michael Miller
d5cd756882 Remove private nest macro
It was still visible to end users.
2018-08-24 15:17:05 -06:00
Michael Miller
b90cc39638 Playing around with contexts and examples 2018-08-24 14:53:14 -06:00
Michael Miller
ed40e995d2 Playing around with new macro style 2018-08-23 16:24:03 -06:00
Michael Miller
74905b82bd Minimal handling of expectations and failures 2018-08-23 12:44:40 -06:00
Michael Miller
7ec33943a4 Initial structure for matchers 2018-08-23 12:44:18 -06:00
Michael Miller
b709820e11 Add expectation class 2018-08-21 21:07:37 -06:00
Michael Miller
0ade9f4dfd Some cleanup 2018-08-19 01:38:02 -06:00
Michael Miller
0613344230 Scratch work on structure 2018-08-19 01:15:32 -06:00
Michael Miller
630e537726 Initial commit 2018-08-18 15:33:20 -06:00