Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
127 lines (127 loc) · 4.67 KB
/
Copy pathcomposer.json
File metadata and controls
127 lines (127 loc) · 4.67 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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "cycle/testing",
"description": "Shared Testo test harness for Cycle ORM packages: multi-driver suites, isolation, DB mocks",
"license": "MIT",
"type": "library",
"keywords": [
"cycle",
"orm",
"database",
"testing",
"testo",
"dev"
],
"authors": [
{
"name": "Aleksei Gagarin (roxblnfk)",
"homepage": "https://github.com/roxblnfk"
}
],
"homepage": "https://cycle-orm.dev",
"support": {
"issues": "https://github.com/cycle/testing/issues",
"source": "https://github.com/cycle/testing"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/cycle"
}
],
"require": {
"php": ">=8.2",
"buggregator/trap": "^1.20",
"cycle/database": "^2.23",
"psr/container": "^1.1 || ^2",
"psr/log": "^2 || ^3",
"testo/testo": "^0.10.60"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.9",
"cycle/annotated": "^4.6",
"cycle/entity-behavior": "^1.7",
"cycle/orm": "^2.18",
"cycle/schema-builder": "^2.12",
"doctrine/collections": "^2.6 || ^3.0",
"llm/skills": "^1.20",
"mockery/mockery": "^1.6",
"testo/bridge-mockery": "^0.1.2"
},
"suggest": {
"cycle/annotated": "Schema\\SchemaCompiler: compile an ORM schema from annotated entities",
"cycle/orm": "ORM layer (Cycle\\Testing\\ORM)",
"cycle/schema-builder": "Schema\\SchemaCompiler: compile an ORM schema from annotated entities",
"llm/skills": "Installs the cycle-testing and testo-* agent skills",
"testo/bridge-mockery": "Config adds MockeryPlugin to every suite when installed"
},
"minimum-stability": "dev",
"prefer-stable": true,
"bin": [
"bin/cycle-testing"
],
"autoload": {
"psr-4": {
"Cycle\\Testing\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Cycle\\Testing\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"llm/skills": true
},
"sort-packages": true
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": false,
"target-directory": "vendor-bin"
},
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"skills": {
"source": "skills"
}
},
"scripts": {
"db:down": "docker compose -f resources/docker/compose.yaml down -v",
"db:up": "docker compose -f resources/docker/compose.yaml up -d --wait",
"cs:diff": "php-cs-fixer fix --dry-run -v --diff --config=vendor-bin/code-style/.php-cs-fixer.dist.php",
"cs:fix": "php-cs-fixer fix -v --config=vendor-bin/code-style/.php-cs-fixer.dist.php",
"infect": [
"Composer\\Config::disableProcessTimeout",
"@putenv XDEBUG_MODE=coverage",
"@putenv DB_DRIVERS=sqlite",
"infection --configuration=infection.json --threads=max"
],
"infect:ci": [
"Composer\\Config::disableProcessTimeout",
"@putenv XDEBUG_MODE=coverage",
"@putenv DB_DRIVERS=sqlite",
"infection --ansi --configuration=infection.json --logger-github --threads=max --show-mutations=0"
],
"psalm": "psalm -c vendor-bin/psalm/psalm.xml",
"psalm:baseline": "psalm -c vendor-bin/psalm/psalm.xml --set-baseline=vendor-bin/psalm/psalm-baseline.xml",
"psalm:ci": "psalm -c vendor-bin/psalm/psalm.xml --output-format=github --shepherd --show-info=false --stats --threads=4",
"test": "testo",
"test:cc": [
"@putenv XDEBUG_MODE=coverage",
"testo --suite=Unit --suite=Feature/SQLite --suite=Acceptance/SQLite --suite=Regression/SQLite --coverage"
],
"test:mysql": "testo --suite=Feature/MySQL --suite=Acceptance/MySQL --suite=Regression/MySQL",
"test:postgres": "testo --suite=Feature/Postgres --suite=Acceptance/Postgres --suite=Regression/Postgres",
"test:sqlite": "testo --suite=Feature/SQLite --suite=Acceptance/SQLite --suite=Regression/SQLite",
"test:sqlserver": "testo --suite=Feature/SQLServer --suite=Acceptance/SQLServer --suite=Regression/SQLServer",
"test:unit": "testo --suite=Unit"
},
"scripts-descriptions": {
"infect": "Run mutation testing with Infection against the Unit and SQLite suites",
"infect:ci": "Run mutation testing in CI: GitHub annotations, the Stryker dashboard report and the MSI gate"
}
}