-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
45 lines (45 loc) · 2.14 KB
/
composer.json
File metadata and controls
45 lines (45 loc) · 2.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "fatmax.com/saperstone-studios",
"description": "Saperstone Studios website tooling needed for localized testing",
"config": {
"vendor-dir": "vendor/"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"guzzlehttp/guzzle": "7.4.5.0",
"ext-json": "*",
"ext-zip": "*",
"php-webdriver/webdriver": "^1.15.2",
"behat/behat": "v3.25.0",
"behat/gherkin": ">=4.9.0",
"emuse/behat-html-formatter": "^0.2.0",
"google/apiclient": "^2.0",
"ext-curl": "*"
},
"require": {
"ext-mysqli": "*",
"cbschuld/browser.php": "^2.0",
"browscap/browscap-php": "^2.1",
"mpdf/mpdf": "8.2.5",
"pear/mail": "^2.0",
"pear/mail_mime": "^1.10",
"pear/net_smtp": "^1.12",
"pear/auth_sasl": "^1.2"
},
"autoload-dev": {
"psr-4": {
"ui\\bootstrap\\": "tests/ui/bootstrap"
}
},
"scripts": {
"clean": "rm -rf reports;",
"unit-test": "XDEBUG_MODE=coverage vendor/bin/phpunit --configuration phpunit-ut.xml",
"integration-pre-test": "export $(grep -v '^#' .env | xargs); export DB_PORT=3506; docker build -q -f .docker/sql/Dockerfile -t integration_sql .; docker run -d -e TZ='America/New_York' -e MYSQL_ALLOW_EMPTY_PASSWORD=no -e MYSQL_ROOT_PASSWORD=${DB_ROOT} -e MYSQL_DATABASE=${DB_NAME} -e MYSQL_USER=${DB_USER} -e MYSQL_PASSWORD=${DB_PASS} -p ${DB_PORT}:3306 --expose ${DB_PORT} integration_sql; ./bin/setup-database.sh true;",
"integration-test": "export $(grep -v '^#' .env | xargs); export DB_PORT=3506; XDEBUG_MODE=coverage vendor/bin/phpunit --configuration phpunit-it.xml",
"integration-post-test": "docker rm $(docker stop $(docker ps -a -q --filter ancestor=integration_sql --format=\"{{.ID}}\"))",
"coverage-test": "export $(grep -v '^#' .env | xargs); XDEBUG_MODE=coverage vendor/bin/phpunit --configuration phpunit-ct.xml",
"api-test": "export $(grep -v '^#' .env | xargs); vendor/bin/phpunit --configuration phpunit-api.xml",
"ui-page-test": "export $(grep -v '^#' .env | xargs); export HEADLESS=true; vendor/bin/phpunit --configuration phpunit-ui.xml",
"ui-behat-test": "export $(grep -v '^#' .env | xargs); export HEADLESS=true; vendor/bin/behat"
}
}