@@ -14,7 +14,7 @@ class RoboFile extends \Robo\Tasks
14
14
use Robo \Task \Base \loadShortcuts;
15
15
16
16
/**
17
- * Duplicate the Example configuration files used to customize the Project for customization
17
+ * Duplicate the Example configuration files used to customize the Project for customization.
18
18
*
19
19
* @return void
20
20
*/
@@ -26,8 +26,8 @@ function cloneFiles()
26
26
}
27
27
28
28
/**
29
- * Clone the Example configuration files
30
- * Build the Codeception project
29
+ * Duplicate the Example configuration files for the Project.
30
+ * Build the Codeception project.
31
31
*
32
32
* @return void
33
33
*/
@@ -38,9 +38,9 @@ function buildProject()
38
38
}
39
39
40
40
/**
41
- * Generate all Tests command .
41
+ * Generate all Tests in PHP .
42
42
*
43
- * @param string[] $opts
43
+ * @param array $opts
44
44
* @return void
45
45
*/
46
46
function generateTests ($ opts = ['config ' => null , 'env ' => 'chrome ' ])
@@ -51,11 +51,11 @@ function generateTests($opts = ['config' => null, 'env' => 'chrome'])
51
51
}
52
52
53
53
/**
54
- * Generate a suite based on name(s) passed in as args
54
+ * Generate a suite based on name(s) passed in as args.
55
55
*
56
- * @param string[] args
57
- * @return void
56
+ * @param array $args
58
57
* @throws Exception
58
+ * @return void
59
59
*/
60
60
function generateSuite (array $ args )
61
61
{
@@ -72,7 +72,7 @@ function generateSuite(array $args)
72
72
}
73
73
74
74
/**
75
- * Run all Functional tests using the Chrome environment
75
+ * Run all Functional tests using the Chrome environment.
76
76
*
77
77
* @return void
78
78
*/
@@ -82,7 +82,7 @@ function chrome()
82
82
}
83
83
84
84
/**
85
- * Run all Functional tests using the FireFox environment
85
+ * Run all Functional tests using the FireFox environment.
86
86
*
87
87
* @return void
88
88
*/
@@ -92,7 +92,7 @@ function firefox()
92
92
}
93
93
94
94
/**
95
- * Run all Functional tests using the PhantomJS environment
95
+ * Run all Functional tests using the PhantomJS environment.
96
96
*
97
97
* @return void
98
98
*/
@@ -102,7 +102,7 @@ function phantomjs()
102
102
}
103
103
104
104
/**
105
- * Run all Functional tests using the Chrome Headless environment
105
+ * Run all Functional tests using the Chrome Headless environment.
106
106
*
107
107
* @return void
108
108
*/
@@ -112,7 +112,7 @@ function headless()
112
112
}
113
113
114
114
/**
115
- * Run all Tests with the specified @group tag, excluding @group 'skip', using the Chrome environment
115
+ * Run all Tests with the specified @group tag, excluding @group 'skip', using the Chrome environment.
116
116
*
117
117
* @param string $args
118
118
* @return void
@@ -123,7 +123,7 @@ function group($args = '')
123
123
}
124
124
125
125
/**
126
- * Run all Functional tests located under the Directory Path provided using the Chrome environment
126
+ * Run all Functional tests located under the Directory Path provided using the Chrome environment.
127
127
*
128
128
* @param string $args
129
129
* @return void
@@ -134,7 +134,7 @@ function folder($args = '')
134
134
}
135
135
136
136
/**
137
- * Run all Tests marked with the @group tag 'example', using the Chrome environment
137
+ * Run all Tests marked with the @group tag 'example', using the Chrome environment.
138
138
*
139
139
* @return void
140
140
*/
@@ -146,7 +146,7 @@ function example()
146
146
/**
147
147
* Generate the HTML for the Allure report based on the Test XML output - Allure v1.4.X
148
148
*
149
- * @return void
149
+ * @return \Robo\Result
150
150
*/
151
151
function allure1Generate ()
152
152
{
@@ -156,15 +156,15 @@ function allure1Generate()
156
156
/**
157
157
* Generate the HTML for the Allure report based on the Test XML output - Allure v2.3.X
158
158
*
159
- * @return void
159
+ * @return \Robo\Result
160
160
*/
161
161
function allure2Generate ()
162
162
{
163
163
return $ this ->_exec ('allure generate tests/_output/allure-results/ --output tests/_output/allure-report/ --clean ' );
164
164
}
165
165
166
166
/**
167
- * Open the HTML Allure report - Allure v1.4.xX
167
+ * Open the HTML Allure report - Allure v1.4.X
168
168
*
169
169
* @return void
170
170
*/
@@ -212,7 +212,7 @@ function allure2Report()
212
212
}
213
213
214
214
/**
215
- * Run the Pre-Install Check Script
215
+ * Run the Pre-Install system check script.
216
216
*
217
217
* @return void
218
218
*/
0 commit comments