@@ -22,7 +22,7 @@ function cloneFiles()
22
22
{
23
23
$ this ->_exec ('cp -vn .env.example .env ' );
24
24
$ this ->_exec ('cp -vf codeception.dist.yml codeception.yml ' );
25
- $ this ->_exec ('cp -vf tests/ functional.suite.dist.yml tests/ functional.suite.yml ' );
25
+ $ this ->_exec ('cp -vf tests ' . DIRECTORY_SEPARATOR . ' functional.suite.dist.yml tests ' . DIRECTORY_SEPARATOR . ' functional.suite.yml ' );
26
26
}
27
27
28
28
/**
@@ -34,7 +34,7 @@ function cloneFiles()
34
34
function buildProject ()
35
35
{
36
36
$ this ->cloneFiles ();
37
- $ this ->_exec ('./ vendor/ bin/ codecept build ' );
37
+ $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR . ' bin ' . DIRECTORY_SEPARATOR . ' codecept build ' );
38
38
}
39
39
40
40
/**
@@ -78,7 +78,7 @@ function generateSuite(array $args)
78
78
*/
79
79
function chrome ()
80
80
{
81
- $ this ->_exec ('./ vendor/ bin/ codecept run functional --env chrome --skip-group skip ' );
81
+ $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR . ' bin ' . DIRECTORY_SEPARATOR . ' codecept run functional --env chrome --skip-group skip ' );
82
82
}
83
83
84
84
/**
@@ -88,7 +88,7 @@ function chrome()
88
88
*/
89
89
function firefox ()
90
90
{
91
- $ this ->_exec ('./ vendor/ bin/ codecept run functional --env firefox --skip-group skip ' );
91
+ $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR . ' bin ' . DIRECTORY_SEPARATOR . ' codecept run functional --env firefox --skip-group skip ' );
92
92
}
93
93
94
94
/**
@@ -98,7 +98,7 @@ function firefox()
98
98
*/
99
99
function phantomjs ()
100
100
{
101
- $ this ->_exec ('./ vendor/ bin/ codecept run functional --env phantomjs --skip-group skip ' );
101
+ $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR . ' bin ' . DIRECTORY_SEPARATOR . ' codecept run functional --env phantomjs --skip-group skip ' );
102
102
}
103
103
104
104
/**
@@ -108,7 +108,7 @@ function phantomjs()
108
108
*/
109
109
function headless ()
110
110
{
111
- $ this ->_exec ('./ vendor/ bin/ codecept run functional --env headless --skip-group skip ' );
111
+ $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR . ' bin ' . DIRECTORY_SEPARATOR . ' codecept run functional --env headless --skip-group skip ' );
112
112
}
113
113
114
114
/**
@@ -119,7 +119,7 @@ function headless()
119
119
*/
120
120
function group ($ args = '' )
121
121
{
122
- $ this ->taskExec ('./ vendor/ bin/ codecept run functional --verbose --steps --env chrome --skip-group skip --group ' )->args ($ args )->run ();
122
+ $ this ->taskExec ('vendor ' . DIRECTORY_SEPARATOR . ' bin ' . DIRECTORY_SEPARATOR . ' codecept run functional --verbose --steps --env chrome --skip-group skip --group ' )->args ($ args )->run ();
123
123
}
124
124
125
125
/**
@@ -130,7 +130,7 @@ function group($args = '')
130
130
*/
131
131
function folder ($ args = '' )
132
132
{
133
- $ this ->taskExec ('./ vendor/ bin/ codecept run functional --env chrome ' )->args ($ args )->run ();
133
+ $ this ->taskExec ('vendor ' . DIRECTORY_SEPARATOR . ' bin ' . DIRECTORY_SEPARATOR . ' codecept run functional --env chrome ' )->args ($ args )->run ();
134
134
}
135
135
136
136
/**
@@ -140,7 +140,7 @@ function folder($args = '')
140
140
*/
141
141
function example ()
142
142
{
143
- $ this ->_exec ('./ vendor/ bin/ codecept run --env chrome --group example --skip-group skip ' );
143
+ $ this ->_exec ('vendor ' . DIRECTORY_SEPARATOR . ' bin ' . DIRECTORY_SEPARATOR . ' codecept run --env chrome --group example --skip-group skip ' );
144
144
}
145
145
146
146
/**
@@ -150,7 +150,7 @@ function example()
150
150
*/
151
151
function allure1Generate ()
152
152
{
153
- return $ this ->_exec ('allure generate tests/ _output/ allure-results/ -o tests/ _output/ allure-report/ ' );
153
+ return $ this ->_exec ('allure generate tests ' . DIRECTORY_SEPARATOR . ' _output ' . DIRECTORY_SEPARATOR . ' allure-results ' . DIRECTORY_SEPARATOR . ' -o tests' . DIRECTORY_SEPARATOR . ' _output ' . DIRECTORY_SEPARATOR . ' allure-report ' . DIRECTORY_SEPARATOR . ' ' );
154
154
}
155
155
156
156
/**
@@ -160,7 +160,7 @@ function allure1Generate()
160
160
*/
161
161
function allure2Generate ()
162
162
{
163
- return $ this ->_exec ('allure generate tests/ _output/ allure-results/ --output tests/ _output/ allure-report/ --clean ' );
163
+ return $ this ->_exec ('allure generate tests ' . DIRECTORY_SEPARATOR . ' _output ' . DIRECTORY_SEPARATOR . ' allure-results ' . DIRECTORY_SEPARATOR . ' --output tests' . DIRECTORY_SEPARATOR . ' _output ' . DIRECTORY_SEPARATOR . ' allure-report ' . DIRECTORY_SEPARATOR . ' --clean ' );
164
164
}
165
165
166
166
/**
@@ -170,7 +170,7 @@ function allure2Generate()
170
170
*/
171
171
function allure1Open ()
172
172
{
173
- $ this ->_exec ('allure report open --report-dir tests/ _output/ allure-report/ ' );
173
+ $ this ->_exec ('allure report open --report-dir tests ' . DIRECTORY_SEPARATOR . ' _output ' . DIRECTORY_SEPARATOR . ' allure-report ' . DIRECTORY_SEPARATOR . ' ' );
174
174
}
175
175
176
176
/**
@@ -180,7 +180,7 @@ function allure1Open()
180
180
*/
181
181
function allure2Open ()
182
182
{
183
- $ this ->_exec ('allure open --port 0 tests/ _output/ allure-report/ ' );
183
+ $ this ->_exec ('allure open --port 0 tests ' . DIRECTORY_SEPARATOR . ' _output ' . DIRECTORY_SEPARATOR . ' allure-report ' . DIRECTORY_SEPARATOR . ' ' );
184
184
}
185
185
186
186
/**
0 commit comments