Team Q Testing
-
Open terminal, go to directory: Desktop/project2
-
Run command line
phpunit --coverage-text=./report/whitecoverage.txt --log-junit report/whiteresult.xml --testdox-text report/whitestatus.txt phptest/whitetests.php -
The coverage report is generated as ./report/directorywhitecoverage.xml
The pass&fail status report is generated as ./report/whitestatus.txt
The other test output is generated as ./report/whiteresult.txt
- Open terminal, change directory to: Desktop/project2
- Run the command
java -jar -Dwebdriver.river="/Downloads/chromedriver" selenium-server-standalone-3.2.0.jar
- Open another terminal, change directory to: Desktop/project2
- Run command line
php bin/behat --out report/blackresult.out --tags '@sprint3'
- The test result is generated as ./report/blackresult.out