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
|
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
|
d4e890af4c
|
Merge remote-tracking branch 'origin/master' into example-restructure
|
2019-09-23 21:30:12 -06:00 |
|
Michael Miller
|
3a6fcb9b0d
|
Fix value negation of attribute matcher
|
2019-09-23 20:52:03 -06:00 |
|
Michael Miller
|
00d1cd9ea3
|
Address warnings with return types in generated types
|
2019-09-23 20:42:04 -06:00 |
|
Michael Miller
|
43dc106c18
|
Add return type annotations
Addresses Crystal compiler warning about abstract method return types.
|
2019-09-23 20:32:21 -06:00 |
|
Michael Miller
|
adbfb7da7c
|
Use integer division - Crystal 0.31.0 change
|
2019-09-23 19:38:15 -06:00 |
|
Michael Miller
|
24ccb77595
|
Expose running example to before-each and after-each hooks
|
2019-09-22 11:27:18 -06:00 |
|
Michael Miller
|
5f3c9d2f63
|
Distinguish group variables
|
2019-09-22 11:02:53 -06:00 |
|
Michael Miller
|
24eb5e419a
|
Get around_each hooks working again
|
2019-09-18 21:51:35 -06:00 |
|
Michael Miller
|
b17d19689e
|
Formatting
|
2019-09-18 09:52:49 -06:00 |
|
Michael Miller
|
db3f89731c
|
Call parent hooks
|
2019-09-18 09:51:45 -06:00 |
|
Michael Miller
|
957b8a54db
|
Implement before and after hooks
|
2019-09-17 20:58:26 -06:00 |
|
Michael Miller
|
6e1605f246
|
Add TestContext
|
2019-09-17 20:57:59 -06:00 |
|
Michael Miller
|
da8736f891
|
Don't create test as part of run method
|
2019-09-17 20:37:06 -06:00 |
|
Michael Miller
|
9129aa4286
|
Use Deque instead of Array
|
2019-09-17 20:35:19 -06:00 |
|
Michael Miller
|
52ef5e5ced
|
Some DSL methods for hooks
|
2019-09-15 10:40:53 -06:00 |
|
Michael Miller
|
7002564ebd
|
Add let and subject with variants
New behavior mimics RSpec - bang variant defines immediately instead of
not storing.
|
2019-09-15 09:45:48 -06:00 |
|
Michael Miller
|
c94b284ab3
|
Replace large DSL files with smaller, logical groups
|
2019-09-15 09:15:33 -06:00 |
|
Michael Miller
|
3f7c16c888
|
Move all DSL to one module, but separate files
|
2019-09-13 14:33:46 -06:00 |
|
Michael Miller
|
fafe5606e6
|
Rename DSL::Builder to SpecBuilder
Place all builders under SpecBuilder.
|
2019-09-13 14:10:25 -06:00 |
|
Michael Miller
|
5d86b4f50e
|
Get examples working again
|
2019-09-12 20:26:54 -06:00 |
|
Michael Miller
|
08ee03b1de
|
Quickly get things somewhat working again
|
2019-09-12 20:16:41 -06:00 |
|
Michael Miller
|
64166d1c36
|
Some fixes
|
2019-09-11 22:21:06 -06:00 |
|
Michael Miller
|
a100191875
|
Merge branch 'example-restructure' of gitlab.com:arctic-fox/spectator into example-restructure
|
2019-09-08 11:02:02 -06:00 |
|
Michael Miller
|
a178db05ac
|
Use TestWrapper in Example classes
|
2019-09-08 10:38:26 -06:00 |
|
Michael Miller
|
de8f298676
|
Remove hooks, conditions, and sample vlues (for now)
Removed only from examples and example groups.
|
2019-09-08 10:28:02 -06:00 |
|
Michael Miller
|
e304224bd6
|
Move stack handling to its own type
|
2019-09-08 09:59:25 -06:00 |
|
Michael Miller
|
f25eb9164f
|
Some test creation rewrite
|
2019-09-08 09:58:15 -06:00 |
|