Michael Miller
|
9c1fd6fb5a
|
Use standard log utility
|
2020-10-17 11:46:21 -06:00 |
|
Michael Miller
|
e6d78345c4
|
Rename debug macro
|
2020-10-17 11:25:46 -06:00 |
|
Michael Miller
|
4974054de7
|
Some code to run a spec
|
2020-10-17 11:23:51 -06:00 |
|
Michael Miller
|
2cdee0716f
|
Bump version to 0.9.27
|
2020-10-01 18:25:29 -06:00 |
|
Michael Miller
|
9ac6121201
|
New stub syntax to support operator methods
Works like:
stub :[], index : Int32 { 42 }
Addresses https://github.com/icy-arctic-fox/spectator/issues/14
|
2020-10-01 18:23:28 -06:00 |
|
Michael Miller
|
f71a8ac6a3
|
Merge branch 'master' into example-api
|
2020-09-27 12:46:38 -06:00 |
|
Michael Miller
|
93fa6f6e72
|
Bump version to 0.9.26
|
2020-09-27 10:35:28 -06:00 |
|
Michael Miller
|
e68697a212
|
Fix stubbed yielding method calling original instead of stub
|
2020-09-27 10:30:51 -06:00 |
|
Michael Miller
|
0970f02465
|
Yield instead of forwarding block
Forwarding the block like this captures it, which prevents yield from
being used.
Addresses https://gitlab.com/arctic-fox/spectator/-/issues/54
|
2020-09-27 10:14:30 -06:00 |
|
Michael Miller
|
ec6018bed4
|
Start reactivating runner
|
2020-09-27 09:10:27 -06:00 |
|
Michael Miller
|
579fcacfde
|
Move spec builder
|
2020-09-26 22:51:58 -06:00 |
|
Michael Miller
|
d663e82c36
|
Improve internal error handling output
|
2020-09-26 22:25:53 -06:00 |
|
Michael Miller
|
543df88d39
|
Forward build method
|
2020-09-26 22:25:04 -06:00 |
|
Michael Miller
|
4567162459
|
Prevent defining an example or group in a test
|
2020-09-26 19:23:57 -06:00 |
|
Michael Miller
|
99a9d7960a
|
Formatting
|
2020-09-26 19:23:16 -06:00 |
|
Michael Miller
|
60795a371d
|
Reorganize
|
2020-09-26 19:15:34 -06:00 |
|
Michael Miller
|
b8ba38152e
|
Cleanup example description handling
|
2020-09-26 19:14:08 -06:00 |
|
Michael Miller
|
1d359efcb0
|
Improve source line detection
|
2020-09-26 19:12:42 -06:00 |
|
Michael Miller
|
1ad41ac016
|
Cleanup group description handling
|
2020-09-26 19:11:52 -06:00 |
|
Michael Miller
|
cccfa8ea1d
|
Formalize Spectator debug
|
2020-09-26 18:23:48 -06:00 |
|
Michael Miller
|
f1ad476ae5
|
Trick to use one version string from shard.yml
|
2020-09-26 18:16:21 -06:00 |
|
Michael Miller
|
f4a05502f9
|
Example names can't be a symbol
|
2020-09-26 18:14:59 -06:00 |
|
Michael Miller
|
96a7989815
|
Remove unreferenced code
|
2020-09-26 18:14:41 -06:00 |
|
Michael Miller
|
acb3b16496
|
Add some docs
|
2020-09-26 18:14:22 -06:00 |
|
Michael Miller
|
de99fce5b1
|
Merge branch 'master' into example-api
|
2020-09-26 11:10:55 -06:00 |
|
Michael Miller
|
a39223ff21
|
Bump to 0.9.25
|
2020-09-26 11:03:11 -06:00 |
|
Michael Miller
|
a4680f2584
|
Don't splat values for failed match data
This caused an issue where keys with the same name as existing arguments
couldn't be used.
In this case, "description" and "failure_message".
Fixes https://github.com/icy-arctic-fox/spectator/issues/13
|
2020-09-26 10:50:18 -06:00 |
|
Michael Miller
|
6363436afa
|
Nested macros for defining DSL keywords
|
2020-09-25 21:44:17 -06:00 |
|
Michael Miller
|
db284066f6
|
Bump version to 0.9.24
|
2020-09-17 10:13:41 -06:00 |
|
Michael Miller
|
a0af1e7cd1
|
Allow string interpolation in some macros
Enables interpolation in example and group descriptions, as well as
anonymous doubles.
Addresses https://github.com/icy-arctic-fox/spectator/issues/10
|
2020-09-17 09:35:49 -06:00 |
|
Michael Miller
|
9103bfde0f
|
Playing around with line numbers
Trying to find some pattern in the line descripancies reported to the
macros compared to the source file.
|
2020-09-14 20:00:17 -06:00 |
|
Michael Miller
|
bc602d9b62
|
Working example creation from DSL
|
2020-09-14 13:55:07 -06:00 |
|
Michael Miller
|
7c44cba667
|
Fix group creation via DSL
|
2020-09-12 18:40:56 -06:00 |
|
Michael Miller
|
dad669686c
|
Temporarily disable running examples
|
2020-09-12 18:40:36 -06:00 |
|
Michael Miller
|
6752c7c254
|
Move DSL-based code to subclass of SpectatorContext
This resolves a circular dependency.
|
2020-09-12 18:39:21 -06:00 |
|
Michael Miller
|
67ac06e4d6
|
Some initial spec builder code
|
2020-09-12 18:37:14 -06:00 |
|
Michael Miller
|
0190cc7260
|
Fix leading whitespace with root group
|
2020-09-12 18:35:31 -06:00 |
|
Michael Miller
|
98f886d9d4
|
Implement finished? method
|
2020-09-12 16:02:11 -06:00 |
|
Michael Miller
|
3133717323
|
Change NestedExampleGroup to ExampleGroup
|
2020-09-12 16:01:52 -06:00 |
|
Michael Miller
|
225c358cb8
|
Some initial work on cleaned up groups
|
2020-09-12 16:01:29 -06:00 |
|
Michael Miller
|
1d32946760
|
Note about docs in macros
|
2020-09-12 15:59:45 -06:00 |
|
Michael Miller
|
b271028c1e
|
Remove most includes for now
|
2020-09-12 15:59:20 -06:00 |
|
Michael Miller
|
e455708467
|
Add missing require statements
|
2020-09-12 15:58:54 -06:00 |
|
Michael Miller
|
6e3ec79a14
|
Remove SpecBuilder types
|
2020-09-12 15:58:07 -06:00 |
|
Michael Miller
|
8b205278ad
|
Change SpectatorTest to SpectatorContext
|
2020-09-12 15:57:20 -06:00 |
|
Michael Miller
|
50bae36ab0
|
Merge remote-tracking branch 'origin/master' into example-api
|
2020-09-12 15:44:56 -06:00 |
|
Michael Miller
|
ea6c154224
|
Change version to 0.10.0
Prepare for next minor release.
|
2020-09-12 15:43:28 -06:00 |
|
Michael Miller
|
a08c87dd5d
|
Remove workaround
https://github.com/icy-arctic-fox/spectator/issues/1 should be resolved
by https://github.com/crystal-lang/crystal/pull/8234
|
2020-09-12 15:28:55 -06:00 |
|
Michael Miller
|
cce17ad55f
|
Fix filename
|
2020-09-12 14:34:24 -06:00 |
|
Michael Miller
|
b866bc7e08
|
Create example context variants
|
2020-09-06 10:31:23 -06:00 |
|