Michael Miller
|
a9d4acda36
|
Pass locals to example and test wrapper initializer
The #initialize method is defined in each context/given/module
that needs to add a local.
This is an elegant (although possibly confusing) solution.
|
2018-09-21 14:03:09 -06:00 |
|
Michael Miller
|
39be62c511
|
Temp disable until I figure out how to reference wrapped example
|
2018-09-20 18:41:21 -06:00 |
|
Michael Miller
|
8b8981494d
|
Trying to get exaples to map to their given values
|
2018-09-19 23:00:17 -06:00 |
|
Michael Miller
|
4d601281f6
|
Delay example creation by using factories
The #given block functionality specifically needs this to create
multiple examples.
|
2018-09-19 21:58:32 -06:00 |
|
Michael Miller
|
bb7f036a82
|
Make Example#group abstract
Instead of passing parent group as an argument, define the group method
in the exapmle class created by the #it macro.
|
2018-09-19 21:50:51 -06:00 |
|
Michael Miller
|
0f7640411f
|
Use symbols instead of strings for hash lookups
|
2018-09-19 21:06:10 -06:00 |
|
Michael Miller
|
a28f512ae4
|
Some code for repeating examples in given blocks
|
2018-09-19 20:49:01 -06:00 |
|
Michael Miller
|
830aa7b43a
|
Structural code for enumerating given value sets
|
2018-09-19 20:00:26 -06:00 |
|
Michael Miller
|
2be9d65997
|
Add examples to group children
|
2018-09-19 19:32:59 -06:00 |
|
Michael Miller
|
d679c356fd
|
Move conditional into context macro
|
2018-09-19 19:29:33 -06:00 |
|
Michael Miller
|
fe81341e1a
|
Rename MAPPING to GROUPS - better name
|
2018-09-19 18:58:44 -06:00 |
|
Michael Miller
|
41c0d9abc7
|
Initial changes for DSL refactor
No examples are picked up right now.
|
2018-09-19 18:53:09 -06:00 |
|
Michael Miller
|
fa73bf3a60
|
Hide method to infer type of first in collection in given macro
This was a bit of a hack.
|
2018-09-15 23:38:07 -06:00 |
|
Michael Miller
|
80fbe89b4c
|
Track children in DSL
|
2018-09-15 16:58:59 -06:00 |
|
Michael Miller
|
a06ea6088c
|
Shorten GroupDefinitions to Definitions
|
2018-09-15 16:53:28 -06:00 |
|
Michael Miller
|
967797428c
|
Move DSL to its own directory
|
2018-09-15 11:21:23 -06:00 |
|