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 |
|
Michael Miller
|
3f7e0d7882
|
Add missing require statement
|
2020-09-05 19:55:46 -06:00 |
|
Michael Miller
|
3a5dd76324
|
Remove ExampleBase
Pending/skip functionality will be merged into Example or extend from
it.
|
2020-09-05 19:54:55 -06:00 |
|
Michael Miller
|
fbf574b0b9
|
Create ExampleGroup and use shared ExampleNode type
|
2020-09-05 16:47:40 -06:00 |
|
Michael Miller
|
0f9c1ad09c
|
Add require for json
|
2020-09-05 16:36:12 -06:00 |
|
Michael Miller
|
4debebb8f0
|
Formatting
|
2020-09-05 15:55:28 -06:00 |
|
Michael Miller
|
55900ebecd
|
Initial rework of example type structure
|
2020-09-05 15:01:22 -06:00 |
|
Michael Miller
|
9c6502234b
|
Define test context types
|
2020-09-05 14:55:49 -06:00 |
|
Michael Miller
|
4a7e0c8bd7
|
Bump version to 0.9.23
|
2020-08-30 12:44:37 -06:00 |
|
Michael Miller
|
a23b2d0753
|
Workaround for https://gitlab.com/arctic-fox/spectator/-/issues/53
|
2020-08-30 12:44:07 -06:00 |
|
Michael Miller
|
d31b8f4093
|
Disable false warning from Ameba
spec_helper_path is actually used by the ECR template.
|
2020-08-16 12:10:32 -06:00 |
|
Michael Miller
|
62fd289b0f
|
Add ability to test expectations directly
|
2020-08-16 12:04:45 -06:00 |
|
Michael Miller
|
fab216419c
|
Capture expectations
|
2020-08-16 11:39:54 -06:00 |
|
Michael Miller
|
14608c8b2d
|
Change to struct
|
2020-08-16 11:00:46 -06:00 |
|
Michael Miller
|
5688e58025
|
Initial runtime test compilation
Allows for compiling single examples at runtime.
|
2020-08-16 10:59:15 -06:00 |
|
Michael Miller
|
53c9dd0445
|
Display first line only after "Error:"
|
2020-08-16 10:00:04 -06:00 |
|
Michael Miller
|
ca03e75b99
|
Merge branch 'master' into specs
|
2020-08-16 09:54:59 -06:00 |
|
Michael Miller
|
ce248de0d9
|
Bump version to 0.9.22
|
2020-08-11 14:37:37 -06:00 |
|
Michael Miller
|
8f0718db86
|
Handle splat in macro for matcher DSL
Should fix https://github.com/icy-arctic-fox/spectator/issues/8
|
2020-08-11 14:37:37 -06:00 |
|
Michael Miller
|
9c14c69bba
|
Change "ditto" to ":ditto:"
|
2020-08-06 19:20:18 -06:00 |
|
Michael Miller
|
3e3be77d30
|
Ignore Crystal version for nightly builds
|
2020-08-06 19:16:05 -06:00 |
|
Michael Miller
|
6e7f094a4b
|
Update Ameba
|
2020-07-27 13:47:40 -06:00 |
|
Michael Miller
|
ac9a0cec4f
|
Bump version to 0.9.21
Reference latest Crystal.
|
2020-07-27 13:42:55 -06:00 |
|
Michael Miller
|
4e50108fb9
|
Use smaller range for default random seed
RSpec seems to use a smaller range, something like 65k (UInt16).
|
2020-07-27 13:39:57 -06:00 |
|
Michael Miller
|
e5ed6418db
|
Only include seed if report if randomized
|
2020-07-27 13:37:41 -06:00 |
|
Michael Miller
|
e168b0ac7a
|
Blank line before seed output
|
2020-07-27 13:32:49 -06:00 |
|
Michael Miller
|
8fc2c93960
|
Track seed used when just -r is provided
|
2020-07-27 13:32:39 -06:00 |
|
Michael Miller
|
ba29c1e032
|
Show random seed
Only works when a seed specified, not when a random seed is used.
|
2020-07-27 12:10:39 -06:00 |
|
Michael Miller
|
7aa8cb14a4
|
Force seed to UInt64
|
2020-07-27 10:37:08 -06:00 |
|
Michael Miller
|
a8e2e5c021
|
Store random seed
|
2020-07-27 10:36:53 -06:00 |
|