| @@ 60-80 (lines=21) @@ | ||
| 57 | */ |
|
| 58 | protected $write_browser_test; |
|
| 59 | ||
| 60 | public function appendFeatures() |
|
| 61 | { |
|
| 62 | $this->loadFileContent(); |
|
| 63 | $this->buildDuskTestName(); |
|
| 64 | $this->passThroughParser(); |
|
| 65 | $this->breakIntoMethods(); |
|
| 66 | ||
| 67 | switch ($this->context) { |
|
| 68 | case 'unit': |
|
| 69 | case 'domain': |
|
| 70 | $this->featureAppendToUnit(); |
|
| 71 | break; |
|
| 72 | case 'ui': |
|
| 73 | case 'browser': |
|
| 74 | //$this->featureToBrowser(); |
|
| 75 | break; |
|
| 76 | default: |
|
| 77 | //more coming soon |
|
| 78 | break; |
|
| 79 | } |
|
| 80 | } |
|
| 81 | ||
| 82 | public function initializeFeature() |
|
| 83 | { |
|
| @@ 82-105 (lines=24) @@ | ||
| 79 | } |
|
| 80 | } |
|
| 81 | ||
| 82 | public function initializeFeature() |
|
| 83 | { |
|
| 84 | $this->loadFileContent(); |
|
| 85 | ||
| 86 | $this->buildDuskTestName(); |
|
| 87 | ||
| 88 | $this->passThroughParser(); |
|
| 89 | ||
| 90 | $this->breakIntoMethods(); |
|
| 91 | ||
| 92 | switch ($this->context) { |
|
| 93 | case 'unit': |
|
| 94 | case 'domain': |
|
| 95 | $this->featureToUnit(); |
|
| 96 | break; |
|
| 97 | case 'ui': |
|
| 98 | case 'browser': |
|
| 99 | $this->featureToBrowser(); |
|
| 100 | break; |
|
| 101 | default: |
|
| 102 | //more coming soon |
|
| 103 | break; |
|
| 104 | } |
|
| 105 | } |
|
| 106 | ||
| 107 | protected function featureToBrowser() |
|
| 108 | { |
|