### codeception.yml delete these 3 lines: https://github.com/phpMv/php-vuejs/blob/1d95efa136913719db7f64965774eee8c36ac27d/codeception.yml#L1-L3 ### .scrutinitzer.yml Added: - **zip** extension - **dev.local** in hosts - **apache2** service with: - mode rewrite (for an eventual .htaccess usage) - a local site - **Selenium** - **Google chrome** - some commands to run before the test see https://github.com/phpMv/php-reactjs/blob/9d86ced20a5ffbbf94c5ec0c7e7f5c713f9c8b1f/.scrutinizer.yml#L13-L35 ### Acceptance folder and config - [acceptance.suite.yml](https://github.com/phpMv/php-reactjs/blob/main/tests/acceptance.suite.yml) - Where to place the acceptance tests: [acceptance folder](https://github.com/phpMv/php-reactjs/tree/main/tests/acceptance) ### _support folder We can use exactly the same: https://github.com/phpMv/php-reactjs/tree/main/tests/_support ### The local site (tests/www) https://github.com/phpMv/php-reactjs/tree/main/tests/www ### Acceptance test sample ```php public function tryToHelloMessage(AcceptanceTester $I) { $I->amOnPage('/HelloMessage'); $I->wait(10); $I->canSee('Salut Thierry', 'body'); } ``` The tested url and component correspond to this file: https://github.com/phpMv/php-reactjs/blob/main/tests/www/include/HelloMessage.php
codeception.yml
delete these 3 lines:
php-vuejs/codeception.yml
Lines 1 to 3 in 1d95efa
.scrutinitzer.yml
Added:
see https://github.com/phpMv/php-reactjs/blob/9d86ced20a5ffbbf94c5ec0c7e7f5c713f9c8b1f/.scrutinizer.yml#L13-L35
Acceptance folder and config
_support folder
We can use exactly the same: https://github.com/phpMv/php-reactjs/tree/main/tests/_support
The local site (tests/www)
https://github.com/phpMv/php-reactjs/tree/main/tests/www
Acceptance test sample
The tested url and component correspond to this file: https://github.com/phpMv/php-reactjs/blob/main/tests/www/include/HelloMessage.php