-
Notifications
You must be signed in to change notification settings - Fork 29
/
composer.json
111 lines (111 loc) · 3.17 KB
/
composer.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "allure-framework/allure-phpunit",
"keywords": [
"phpunit",
"testing",
"report",
"steps",
"attachments",
"cases",
"allure"
],
"description": "Allure PHPUnit integration",
"homepage": "https://allurereport.org/",
"license": "Apache-2.0",
"authors": [
{
"name": "Ivan Krutov",
"email": "[email protected]",
"role": "Developer"
},
{
"name": "Edward Surov",
"email": "[email protected]",
"role": "Developer"
}
],
"support": {
"email": "[email protected]",
"source": "https://github.com/allure-framework/allure-phpunit"
},
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"allure-framework/allure-php-commons": "^2",
"phpunit/phpunit": "^10"
},
"require-dev": {
"brianium/paratest": "^7",
"psalm/plugin-phpunit": "^0.18.4",
"squizlabs/php_codesniffer": "^3.7.2",
"vimeo/psalm": "^5.15"
},
"conflict": {
"amphp/byte-stream": "<1.5.1",
"brianium/paratest": "<7.0.3"
},
"autoload": {
"psr-4": {
"Qameta\\Allure\\PHPUnit\\": "src/"
}
},
"autoload-dev": {
"psr-0": {
"Yandex": "test/"
},
"psr-4": {
"Qameta\\Allure\\PHPUnit\\Test\\Unit\\": "test/unit/",
"Qameta\\Allure\\PHPUnit\\Test\\Report\\": "test/report/"
}
},
"scripts": {
"test-cs": "vendor/bin/phpcs -sp",
"test-unit": "vendor/bin/phpunit --coverage-text",
"test-unit-lowest": "vendor/bin/phpunit --configuration=phpunit.10.0.xml --coverage-text",
"clear-allure-results": "rm -rf ./build/allure-results",
"test-report": [
"@clear-allure-results",
"vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=positive",
"vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=negative; exit 0"
],
"test-report-lowest": [
"@clear-allure-results",
"vendor/bin/paratest --processes=3 --configuration=phpunit.10.0.report.xml --testsuite=positive",
"vendor/bin/paratest --processes=3 --configuration=phpunit.10.0.report.xml --testsuite=negative; exit 0"
],
"test-report-windows": [
"@clear-allure-results",
"vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=positive",
"vendor/bin/paratest --processes=3 --configuration=phpunit.report.xml --testsuite=negative & exit 0"
],
"test-report-windows-lowest": [
"@clear-allure-results",
"vendor/bin/paratest --processes=3 --configuration=phpunit.10.0.report.xml --testsuite=positive",
"vendor/bin/paratest --processes=3 --configuration=phpunit.10.0.report.xml --testsuite=negative & exit 0"
],
"test-psalm": "vendor/bin/psalm --shepherd",
"test": [
"@test-cs",
"@test-unit",
"@test-report",
"@test-psalm"
],
"test-lowest": [
"@test-cs",
"@test-unit-lowest",
"@test-report-lowest",
"@test-psalm"
],
"test-windows": [
"@test-cs",
"@test-unit",
"@test-report-windows",
"@test-psalm"
],
"test-windows-lowest": [
"@test-cs",
"@test-unit-lowest",
"@test-report-windows-lowest",
"@test-psalm"
]
}
}