Michael Miller
|
c80a28d616
|
More work on method stubs
|
2019-10-12 20:53:17 -06:00 |
|
Michael Miller
|
0b6465e6bc
|
Started playing around with method stubs
|
2019-10-12 16:30:46 -06:00 |
|
Michael Miller
|
4b57ddab80
|
Handle changing test scope
This matches the current pattern, where a nested scope can override
values from a parent scope.
I think this solution is quite clever :)
|
2019-10-06 11:12:06 -06:00 |
|
Michael Miller
|
6e50e54e05
|
Add HTML as planned output type
|
2019-10-06 11:02:52 -06:00 |
|
Michael Miller
|
1bbe5067b6
|
Handle deferred stub with type
|
2019-10-06 10:24:51 -06:00 |
|
Michael Miller
|
49764e5873
|
Use do...end for multi-line stub def
|
2019-10-05 22:43:40 -06:00 |
|
Michael Miller
|
6b85bb7ed7
|
Default raise if stub is called without defintion
|
2019-10-05 22:42:33 -06:00 |
|
Michael Miller
|
0528ddc2ab
|
Handle stubbed methods with arguments
|
2019-10-05 22:22:31 -06:00 |
|
Michael Miller
|
47ca96801b
|
Mark internal class as private
Minimal doubles should be done.
|
2019-10-05 22:06:03 -06:00 |
|
Michael Miller
|
00c0553426
|
Get contextual values working with doubles
|
2019-10-05 07:38:13 -06:00 |
|
Michael Miller
|
d08ec75db7
|
Minimal working double
|
2019-10-04 23:16:40 -06:00 |
|
Michael Miller
|
bff2668ad4
|
Remove old files
|
2019-10-04 23:16:22 -06:00 |
|
Michael Miller
|
c458a490bf
|
Remove usage of sample values
|
2019-10-04 23:01:46 -06:00 |
|
Michael Miller
|
8c180e818f
|
Merge remote-tracking branch 'origin/release/0.9' into mocks-and-doubles
|
2019-09-27 14:12:29 -06:00 |
|
Michael Miller
|
425240e66f
|
Merge branch 'release/0.9' into mocks-and-doubles
|
2019-09-27 14:07:02 -06:00 |
|
Mike Miller
|
3666b0e02f
|
Merge branch 'example-restructure' into 'release/0.9'
Example restructure
See merge request arctic-fox/spectator!20
|
2019-09-27 04:56:47 +00:00 |
|
Michael Miller
|
0e3727b504
|
Run after-all hooks correctly
|
2019-09-26 22:53:16 -06:00 |
|
Michael Miller
|
95fa9b39b2
|
Merge branch 'release/0.9' into example-restructure
|
2019-09-26 21:54:23 -06:00 |
|
Michael Miller
|
60ca4361de
|
Fix implicit subject
|
2019-09-26 21:44:25 -06:00 |
|
Michael Miller
|
f47c48b483
|
Add pre- and post-conditions
|
2019-09-26 21:37:29 -06:00 |
|
Michael Miller
|
1eec9190dd
|
Workaround for subject evaluation
|
2019-09-26 21:24:50 -06:00 |
|
Michael Miller
|
2c400950a4
|
Remove specs since they're mostly invalidated by the refactor
|
2019-09-26 20:52:26 -06:00 |
|
Michael Miller
|
07aeaecca4
|
Add support for pending tests
|
2019-09-26 20:46:28 -06:00 |
|
Michael Miller
|
25778d7b41
|
Change "what" to "description"
|
2019-09-26 16:49:44 -06:00 |
|
Michael Miller
|
edabaa9447
|
Dumb auto-format
|
2019-09-26 16:25:43 -06:00 |
|
Michael Miller
|
e3e4cac9c1
|
Add source to example groups
|
2019-09-26 16:23:13 -06:00 |
|
Michael Miller
|
dacca0bf1e
|
Add implicit subject
|
2019-09-26 16:02:24 -06:00 |
|
Michael Miller
|
a261592776
|
Add given group
|
2019-09-26 15:56:48 -06:00 |
|
Michael Miller
|
6ae817d4bc
|
Add random sample
|
2019-09-26 15:49:06 -06:00 |
|
Michael Miller
|
3d37a94aaf
|
Add optional count to sample group
|
2019-09-26 15:41:58 -06:00 |
|
Michael Miller
|
311b4b0f2f
|
Use name instead of block_arg
|
2019-09-26 15:30:29 -06:00 |
|
Michael Miller
|
7e6080aa5f
|
Move harness out of internals
|
2019-09-26 15:11:54 -06:00 |
|
Michael Miller
|
0067191423
|
Remove reference to Internals namespace
|
2019-09-26 15:11:36 -06:00 |
|
Michael Miller
|
1f300a4a18
|
Use label in sub-group name
|
2019-09-26 15:05:28 -06:00 |
|
Michael Miller
|
c3ea34e762
|
Retrieve test value for sample group
|
2019-09-26 14:57:31 -06:00 |
|
Michael Miller
|
f6e95719ad
|
Remove unnecessary quotes in example name
|
2019-09-26 14:08:17 -06:00 |
|
Michael Miller
|
e5bd582f5f
|
Handle collection for sample group
|
2019-09-26 14:05:55 -06:00 |
|
Michael Miller
|
cd0ba81417
|
Pass test values to test instance
|
2019-09-26 13:00:23 -06:00 |
|
Michael Miller
|
3c9846ae9b
|
Remove reference to internals
|
2019-09-26 12:59:42 -06:00 |
|
Michael Miller
|
5d9e7002d6
|
Some initial work on sample groups
|
2019-09-26 12:31:23 -06:00 |
|
Michael Miller
|
422c805e21
|
Rename SampleValues to TestValues
Move out of internal namespace.
|
2019-09-26 10:26:37 -06:00 |
|
Michael Miller
|
73cef75fcb
|
Remove dummy example
|
2019-09-26 09:56:54 -06:00 |
|
Michael Miller
|
a355b59f3e
|
Type annotations for return types
|
2019-09-25 09:12:03 -06:00 |
|
Michael Miller
|
8c1019753f
|
Merge remote-tracking branch 'origin/master' into release/0.9
|
2019-09-24 23:14:16 -06:00 |
|
Michael Miller
|
d4e890af4c
|
Merge remote-tracking branch 'origin/master' into example-restructure
|
2019-09-23 21:30:12 -06:00 |
|
Mike Miller
|
35928133a9
|
Merge branch 'crystal-0.31.0' into 'master'
Crystal 0.31.0
See merge request arctic-fox/spectator!19
|
2019-09-24 03:04:45 +00:00 |
|
Michael Miller
|
c3427a8115
|
Update to version 0.8.3
|
2019-09-23 21:03:46 -06:00 |
|
Michael Miller
|
335a76527b
|
Error on warnings
|
2019-09-23 21:03:04 -06:00 |
|
Michael Miller
|
b79e580822
|
Add build against nightly Crystal
|
2019-09-23 20:58:47 -06:00 |
|
Michael Miller
|
3a6fcb9b0d
|
Fix value negation of attribute matcher
|
2019-09-23 20:52:03 -06:00 |
|