Michael Miller
|
1a61235cdc
|
Simplify #examples and #groups methods
|
2018-09-27 13:51:19 -06:00 |
|
Michael Miller
|
1c7c6e5e90
|
Initial code for example names
|
2018-09-23 20:24:28 -06:00 |
|
Michael Miller
|
855a5f2239
|
Move hook storage to their own class
|
2018-09-23 15:26:19 -06:00 |
|
Michael Miller
|
94e2f54713
|
Implement building groups and examples
|
2018-09-23 14:34:42 -06:00 |
|
Michael Miller
|
66ca06337d
|
Fix locals not being passed to child groups
|
2018-09-21 14:26:09 -06:00 |
|
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
|
007572f0b8
|
Get rid of #add_examples
Added #example_count method to help with array sizing.
|
2018-09-19 23:13:43 -06:00 |
|
Michael Miller
|
aaf973b8cf
|
Concat #all_examples instead of recursive #add_examples
|
2018-09-19 22:28:20 -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
|
06630e87d3
|
Rework how children are handled
Uses a loose version of the composite pattern.
This is to keep examples in the order they were declared.
|
2018-09-19 19:31:50 -06:00 |
|
Michael Miller
|
7968c5a394
|
Rename Context to ExampleGroup
|
2018-09-15 10:45:47 -06:00 |
|
Michael Miller
|
0613344230
|
Scratch work on structure
|
2018-08-19 01:15:32 -06:00 |
|