Michael Miller
21d14bd814
Add f-prefix variants of groups and examples
...
For instance: `fit` for `it "...", :focus`
2021-08-18 13:55:21 -06:00
Michael Miller
ffb99a21d5
Update changelog to mention group matching
2021-08-17 21:44:15 -06:00
Michael Miller
0f7a9ed9e8
Remove append and prepend variants of hook definition methods
...
RSpec defines these as applying to a scope (example, context, suite) as
opposed to example group.
Mimicing this is currently not possible in Spectator and would require a
substantial restructure of how hooks are handled.
This may be implemented in the future.
2021-08-08 11:50:30 -06:00
Michael Miller
b9f0a31a4a
Overhaul hooks
...
Mostly cleanup and make managing hooks simpler, hopefully.
Tests indicate this configuration matches hook execution order of RSpec.
2021-08-07 21:45:49 -06:00
Michael Miller
4c125d98d4
Implement aggregate_failures
2021-07-31 11:56:53 -06:00
Michael Miller
9a97596b84
Allow named arguments in provided
block
2021-07-31 10:15:16 -06:00
Michael Miller
e8413db33f
Support custom messages for failed expectations
...
Fixes https://gitlab.com/arctic-fox/spectator/-/issues/28
2021-07-17 17:42:25 -06:00
Michael Miller
2b37d34f26
Reference issues
2021-07-17 16:55:27 -06:00
Michael Miller
9c7f39ba45
Update references to existing issues
2021-07-17 16:03:01 -06:00
Michael Miller
937b084f66
Support defining hooks in configuration block
2021-07-17 15:20:58 -06:00
Michael Miller
a810eef16c
Add before_suite
and after_suite
2021-07-17 14:19:16 -06:00
Michael Miller
571bc7d8a5
Reuse iterative example group macro code
...
Add support for x prefix to skip sample and random_sample groups.
2021-07-17 13:25:38 -06:00
Michael Miller
9d72d26630
Handle sample count
2021-07-17 12:49:11 -06:00
Michael Miller
6c55301d0b
Merge remote-tracking branch 'origin/master' into release/0.10
2021-07-11 00:16:25 -06:00
Michael Miller
01672fc073
Bump version to 0.9.40
2021-07-10 23:16:05 -06:00
Michael Miller
6a01ab3531
Merge master into release/0.10
2021-07-05 11:32:45 -06:00
Michael Miller
78de2be994
Bump version to 0.9.39
2021-07-02 21:59:16 -06:00
Michael Miller
f728ab6ad7
Add test case handling NoReturn stub and top-level methods (exit)
...
Fixes https://github.com/icy-arctic-fox/spectator/issues/29
2021-07-02 21:55:42 -06:00
Michael Miller
a0537484f4
Allow creation of doubles without a definition
...
Utilizes anonymous doubles to implement this.
Fixes https://github.com/icy-arctic-fox/spectator/issues/30
2021-07-02 19:18:14 -06:00
Michael Miller
e3f6fb3c7c
Add no_args support for stubs
...
Fixes https://github.com/icy-arctic-fox/spectator/issues/28
2021-07-02 18:43:39 -06:00
Michael Miller
8d32984eba
Mark issue with scope of types as resolved
...
https://github.com/icy-arctic-fox/spectator/issues/31 appears to be
fixed in v0.10.
2021-07-02 18:11:40 -06:00
Michael Miller
704c28e822
Reimplement given
as provided
and deprecate
...
The behavior is slightly different now.
Nested example blocks aren't allowed in `provided`.
The block produces one example, not multiple.
2021-06-12 16:23:38 -06:00
Michael Miller
4f2df78c34
Deprecate current behavior of pending blocks
2021-06-11 18:55:56 -06:00
Michael Miller
420f69f56b
Add pending changes to changelog
2021-06-11 18:45:05 -06:00
Michael Miller
b738b6b3ff
Add item regarding reporting and formatting
2021-06-03 22:04:11 -06:00
Michael Miller
39c95397fd
Merge branch 'master' into release/0.10
2021-05-29 16:56:57 -06:00
Michael Miller
92f758084d
Bump version to 0.9.38
2021-05-27 15:20:11 -06:00
Michael Miller
a3305a9273
Merge branch 'master' into release/0.10
2021-05-19 20:15:36 -06:00
Michael Miller
55398709de
Bump version to 0.9.37
2021-05-19 19:51:08 -06:00
Michael Miller
f24d634ccb
Merge branch 'release/0.10' into specs
2021-04-26 17:19:25 -06:00
Michael Miller
29594eefab
Merge branch 'master' into release/0.10
2021-04-26 11:19:08 -06:00
Michael Miller
18fb2d3879
Bump version to 0.9.36
2021-04-25 23:39:26 -06:00
Michael Miller
25638d766e
Bump version to 0.9.35
2021-04-18 18:08:08 -06:00
Michael Miller
d612657b15
Merge branch 'release/0.10' into specs
2021-03-31 15:28:16 -06:00
Michael Miller
3d702f9bc6
Merge branch 'master' into release/0.10
2021-03-31 15:19:30 -06:00
Michael Miller
347e07e104
Update CHANGELOG
2021-03-31 15:07:00 -06:00
Michael Miller
08451df643
Add matcher to check compiled type of values
2021-02-12 18:33:50 -07:00
Michael Miller
3cd569e639
Prevent using reserved keywords in let and subject
2021-02-10 16:58:17 -07:00
Michael Miller
969a1f7755
Merge branch 'master' into release/0.10
2021-02-09 18:16:48 -07:00
Michael Miller
e0c4d2ac3e
Bump version to 0.9.32
2021-02-03 10:08:46 -07:00
Michael Miller
3ae83f8b3d
Note about removing one-liner braceless syntax
2021-01-30 21:29:11 -07:00
Michael Miller
a5fcb96378
Support for tags
2021-01-30 12:10:09 -07:00
Michael Miller
8252d333fa
Update changelog with current known changes
2021-01-23 19:42:14 -07:00
Michael Miller
b583e88422
Add changelog
2021-01-23 19:17:56 -07:00