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