Merge pull request #37 from ratchetphp/qol

quality of life changes
This commit is contained in:
Matt Bonneau 2019-12-13 22:37:14 -05:00 committed by GitHub
commit c033a39360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -27,5 +27,13 @@
"require-dev": {
"phpunit/phpunit": "4.8.*",
"react/socket": "^1.3"
},
"scripts": {
"abtests": "sh tests/ab/run_ab_tests.sh",
"phpunit": "phpunit --colors=always",
"test": [
"@abtests",
"@phpunit"
]
}
}

View File

@ -9,3 +9,5 @@ sleep 2
php startServer.php &
sleep 3
wstest -m fuzzingclient -s fuzzingclient.json
sleep 1
kill $(ps aux | grep 'php startServer.php' | awk '{print $2}' | head -n 1)